(from github.com/attibalazs)
I’m having some trouble starting it up from the source code, i get the following errors:
Exception in thread "main" java.lang.NoClassDefFoundError: org/dbflute/tomcat/TomcatBoot
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:763)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:467)
at java.net.URLClassLoader.access$100(URLClassLoader.java:73)
at java.net.URLClassLoader$1.run(URLClassLoader.java:368)
at java.net.URLClassLoader$1.run(URLClassLoader.java:362)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:361)
at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:264)
at com.intellij.rt.execution.application.AppMain.main(AppMain.java:123)
Caused by: java.lang.ClassNotFoundException: org.dbflute.tomcat.TomcatBoot
at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
... 15 more
Picked up _JAVA_OPTIONS: -Djava.net.preferIPv4Stack=true -Dhttp.auth.preference=ntlm
Or if I try debugging i get this:
Connected to the target VM, address: '127.0.0.1:61072', transport: 'socket'
Disconnected from the target VM, address: '127.0.0.1:61072', transport: 'socket'
Error: Could not find or load main class org.codelibs.fess.FessBoot
Picked up _JAVA_OPTIONS: -Djava.net.preferIPv4Stack=true -Dhttp.auth.preference=ntlm
(from attibalazs (Atti) · GitHub)
The mvn package ran succesfully. However I`m trying to run based on the source code from IntelliJ IDEA.
Following the documentation:
Launch org.codelibs.fess.FessBoot as Debug mode and then access to http://localhost:8080/
(from github.com/attibalazs)
Hi thanks for that! I updated the pom.xml and now I’m on to the next error. I spent some time searching the web and trying to figure it out but i`m stuck again.
The following jar files seem to be missing, and i can’t get Maven/IDEA to download them:
Do these have to be installed manually or is it just my environment that`s not configured properly?
(from github.com/attibalazs)
I did run mvn package see above also. When i run mvn package it builds with success. When i build for debug i get errors of missing packages.
(from github.com/marevol)
Please check Local Repository in Preference -> Build,Execution,Deployment -> Build Tools -> Maven.
I think it’s a general problem about IDEA/Maven, not Fess…
(from github.com/attibalazs)
I managed to successfully build the solution this morning. I think the issue was that the corporate proxy was blocking some of the domains you referenced. I used a different connection and it all started working. I could build for debug using IntelliJ and also package the release with Maven. Thanks for your support.