Hello again,
I have overpassed this problem as i checked similar implementations and
indeed there was a dependency for jxm-jetty missing.
This although i cannot enter the application. Can you describe what was
the issue please you stated before? Regarding the security?
I give test and password as username/pass and they are invalid.
Thanks,
D.
On 7/11/2016 8:43 PM, Damianos Metallidis wrote:
Hello Shawn,
I am too using IntelliJ as IDE and also maven for managing the
dependencies.
Yes it seems that i am missing /java.lang.NoClassDefFoundError:
org/eclipse/jetty/jmx/ObjectMBean//.
/Should this be included in the fortress-web.war or as a standalone in
the classpath? I am a little bit confused of it.
Thanks,
D.
On 7/11/2016 8:19 PM, Shawn McKinney wrote:
On Jul 11, 2016, at 11:37 AM, Damianos Metallidis<[email protected]> wrote:
Caused by: java.lang.ClassNotFoundException: org.eclipse.jetty.jmx.ObjectMBean
at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
at
org.eclipse.jetty.webapp.WebAppClassLoader.loadClass(WebAppClassLoader.java:421)
at
org.eclipse.jetty.webapp.WebAppClassLoader.loadClass(WebAppClassLoader.java:383)
... 35 more
It is raised on the line of *server.start()*; (Main actually is from
StartExamples.java from directory-fortress-commander distribution)
Any idea on this? Am i missing something?
Hello Damianos - welcome!
After reading your note I noticed the embedded jetty test class, StartExamples,
failed during authentication, which required some minor changes to get it
working with the latest code.
After my changes, I was able to fire up that class inside of my IDE - IntelliJ.
Looks like you have a different problem though. From the error it is missing a
dependency. Are you certain you have all of the necessary classes on your
classpath? How are you managing your project dependencies - maven, or some
other means?
Shawn