Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dependencies/Requirements? #32

Open
tamnguyen98 opened this issue Oct 9, 2021 · 0 comments
Open

Dependencies/Requirements? #32

tamnguyen98 opened this issue Oct 9, 2021 · 0 comments

Comments

@tamnguyen98
Copy link

Why is the README so vague? What is the requirements/dependencies for this project?

I have
JAVA

OpenJDK Runtime Environment (build 11.0.12+7-post-Raspbian-2deb10u1)
OpenJDK Server VM (build 11.0.12+7-post-Raspbian-2deb10u1, mixed mode)

MVN

Maven home: /opt/apache-maven-3.8.3
Java version: 11.0.12, vendor: Raspbian, runtime: /usr/lib/jvm/java-11-openjdk-armhf
Default locale: en_US, platform encoding: UTF-8
OS name: "linux", version: "5.10.60-v7l+", arch: "arm", family: "unix"

But when I run ./run.sh I get the following error

[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  42.657 s
[INFO] Finished at: 2021-10-09T16:09:47-07:00
[INFO] ------------------------------------------------------------------------
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by com.fasterxml.jackson.module.afterburner.util.MyClassLoader (file:/home/pi/budgetapp/target/budgetapp.jar) to method java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int)
WARNING: Please consider reporting this to the maintainers of com.fasterxml.jackson.module.afterburner.util.MyClassLoader
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
INFO  [2021-10-09 23:09:53,170] io.dropwizard.server.DefaultServerFactory: Registering jersey handler with root path prefix: /
INFO  [2021-10-09 23:09:53,179] io.dropwizard.server.DefaultServerFactory: Registering admin handler with root path prefix: /
java.lang.NoClassDefFoundError: javax/xml/bind/JAXBException
        at org.hibernate.boot.spi.XmlMappingBinderAccess.<init>(XmlMappingBinderAccess.java:43)
        at org.hibernate.boot.MetadataSources.<init>(MetadataSources.java:87)
        at org.hibernate.cfg.Configuration.<init>(Configuration.java:123)
        at org.hibernate.cfg.Configuration.<init>(Configuration.java:118)
        at io.dropwizard.hibernate.SessionFactoryFactory.buildSessionFactory(SessionFactoryFactory.java:72)
        at io.dropwizard.hibernate.SessionFactoryFactory.build(SessionFactoryFactory.java:49)
        at io.dropwizard.hibernate.SessionFactoryFactory.build(SessionFactoryFactory.java:39)
        at io.dropwizard.hibernate.HibernateBundle.run(HibernateBundle.java:67)
        at io.dropwizard.hibernate.HibernateBundle.run(HibernateBundle.java:19)
        at io.dropwizard.setup.Bootstrap.run(Bootstrap.java:200)
        at io.dropwizard.cli.EnvironmentCommand.run(EnvironmentCommand.java:42)
        at io.dropwizard.cli.ConfiguredCommand.run(ConfiguredCommand.java:87)
        at io.dropwizard.cli.Cli.run(Cli.java:78)
        at io.dropwizard.Application.run(Application.java:93)
        at io.budgetapp.BudgetApplication.main(BudgetApplication.java:46)
Caused by: java.lang.ClassNotFoundException: javax.xml.bind.JAXBException
        at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:581)
        at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:178)
        at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:522)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant