- This topic has 6 replies, 3 voices, and was last updated 18 years, 1 month ago by Riyad Kalla.
-
AuthorPosts
-
star2323MemberOk I have Java JDK 1.5.0_08 installed and configured. I have Eclipse 3.2.0 and MyEclipse 5.0 installed and configured. I have Resin 3.0.21 installed and configured. But when I got to start Resin through Eclipse I keep getting the following error:
Starting Resin on Thu, 07 Sep 2006 13:55:19 -0500 (CDT)
java.lang.NoClassDefFoundError: javax/management/j2ee/statistics/JTAStats
at com.caucho.loader.EnvironmentClassLoader.initializeEnvironment(EnvironmentClassLoader.java:581)
at com.caucho.server.resin.Resin.init(Resin.java)
at com.caucho.server.resin.Resin.main(Resin.java:625)
java.lang.NoClassDefFoundError: javax/management/j2ee/statistics/JVMStats
at com.caucho.server.resin.ResinServer.start(ResinServer.java:536)
at com.caucho.server.resin.Resin.init(Resin.java)
at com.caucho.server.resin.Resin.main(Resin.java:625)Any ideas? I can start Resin outside of Eclipse and it runs fine.
Riyad KallaMemberThis is a bug, you need to modify your Resin connector settings and explicitly add the management JAR to your classpath, for some reaso our Resin connector isn’t picking it up, but it’s a quick and easy workaround. Sorry for the trouble.
star2323MemberGot it working.
Thanks
novakosMember@star2323 wrote:
Got it working.
Thanks
Hello!
I have the same problem: java.lang.NoClassDefFoundError: javax/management/j2ee/statistics/JTAStats
but I do not know how to solve the problem, can somebody help me?
I do not how to set “Resin connector settings and explicitly add the management JAR to your classpath”.Thanks
star2323MemberGoto to where you setup Resin under Preferences – MyEclipse – Application Servers. Then go to Paths under Resin and add the j2ee-management-10.jar JAR under “Prepend to classpath”. The management JAR is located in the lib directory in the Resin directory.
novakosMemberAppreciate the help, thank you, I got it working working 🙂
Riyad KallaMemberGlad to hear it’s working now.
-
AuthorPosts