This page last changed on Dec 02, 2013 by brassalui.

Hi community,

can you please look into my issue. Already googled, used search here, but cant seem to find someone with this issue.

After installing Java JDK 7.0.45 and then OpenRemote-Controller-2.1.0_SNAPSHOT-2013-06-17.zip, I Keep getting a Java error NoCLassDefFound.
I have attached the log below.

Prosumably I am being stupid here, but I did follow the instructions and cannot think of how to move Forward now.

I hope you guys can help me.

Cheers,
Brassa

Using CATALINA_BASE: C:\Programme\OpenRemote
Using CATALINA_HOME: C:\Programme\OpenRemote
Using CATALINA_TMPDIR: C:\Programme\OpenRemote\temp
Using JRE_HOME: C:\Programme\Java\jdk1.7.0_45\jre
java.lang.NoClassDefFoundError: org/apache/tomcat/util/log/System
at java.lang.Class.getDeclaredConstructors0(Native Method
at java.lang.Class.privateGetDeclaredConstructors(Class.j
at java.lang.Class.getConstructor0(Class.java:2803)
at java.lang.Class.newInstance(Class.java:345)
at org.apache.catalina.startup.Bootstrap.init(Bootstrap.j
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.j
Caused by: java.lang.ClassNotFoundException: org.apache.tomcat.ut
gHandler
at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
at java.security.AccessController.doPrivileged(Native Met
at java.net.URLClassLoader.findClass(URLClassLoader.java:
at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
... 6 more

C:\Programme\OpenRemote\bin>openremote
Using CATALINA_BASE: C:\Programme\OpenRemote
Using CATALINA_HOME: C:\Programme\OpenRemote
Using CATALINA_TMPDIR: C:\Programme\OpenRemote\temp
Using JRE_HOME: C:\Programme\Java\jdk1.7.0_45\jre
Usage: catalina ( commands ... )
commands:
run Start Catalina in the current window
start Start Catalina in a separate window
stop Stop Catalina
version What version of tomcat are you running?

C:\Programme\OpenRemote\bin>openremote start
Using CATALINA_BASE: C:\Programme\OpenRemote
Using CATALINA_HOME: C:\Programme\OpenRemote
Using CATALINA_TMPDIR: C:\Programme\OpenRemote\temp
Using JRE_HOME: C:\Programme\Java\jdk1.7.0_45\jre

C:\Programme\OpenRemote\bin>openremote run
Using CATALINA_BASE: C:\Programme\OpenRemote
Using CATALINA_HOME: C:\Programme\OpenRemote
Using CATALINA_TMPDIR: C:\Programme\OpenRemote\temp
Using JRE_HOME: C:\Programme\Java\jdk1.7.0_45\jre
java.lang.NoClassDefFoundError: org/apache/tomcat/util/log/System
at java.lang.Class.getDeclaredConstructors0(Native Method
at java.lang.Class.privateGetDeclaredConstructors(Class.j
at java.lang.Class.getConstructor0(Class.java:2803)
at java.lang.Class.newInstance(Class.java:345)
at org.apache.catalina.startup.Bootstrap.init(Bootstrap.j
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.j
Caused by: java.lang.ClassNotFoundException: org.apache.tomcat.ut
gHandler
at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
at java.security.AccessController.doPrivileged(Native Met
at java.net.URLClassLoader.findClass(URLClassLoader.java:
at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
at java.lang.ClassLoader.loadClass(ClassLoader.java:358)

Solved - for some reasonI had to start the setclasspath.bat in the Apache Folder - works like a charm now....

Posted by brassalui at Dec 02, 2013 17:39
Document generated by Confluence on Jun 05, 2016 09:36