-
1. Re: java.lang.NoClassDefFoundError: com/sun/enterprise/tools
vashistvishal Apr 4, 2005 2:49 AM (in response to emailssent)This doesn't seem to be JBoss -specific files, i think u are probably using some examples from sun bundled in jar file to be deploy in jboss and by the looks of it it seems u are not setting the classpath variable properly, which u intend to use in these jars.
try jar -tvf .jar to see where these classes sre coming from
I intillay thought u might me missing tools.jar (under jdk/lib/) but that's not the case as well. -
2. Re: java.lang.NoClassDefFoundError: com/sun/enterprise/tools
emailssent Apr 4, 2005 4:02 AM (in response to emailssent)Thanks for reply.
I am trying use jboos, and trying to deploy Duke's Bank application that is taught in getting started docuementation of jboss.
Is J2EE server is necessary for deploy java application to jboss, i am first compiling it, then generation ejbs,war,ear........ and then i will deploy but before deploying while making ejbs it is giving me error of Noclass def found.
>try jar -tvf .jar to see where these classes sre coming from
on which file should i do that.
plz guide me
-jack -
3. Re: java.lang.NoClassDefFoundError: com/sun/enterprise/tools
emailssent Apr 4, 2005 4:02 AM (in response to emailssent)Is J2EE server is necessary for deploy java application to jboss
-
4. Re: java.lang.NoClassDefFoundError: com/sun/enterprise/tools
vashistvishal Apr 4, 2005 9:50 AM (in response to emailssent)J2EE Server is needed (JBoss is J2EE compliant server) for deploying J2EE applications.
When u say Java applications what do u mean by that, because J2EE applications are itslef in JAVA. So not sure what u mean.
If u mean non J2EE applications then u dont need J2EE Server.
I hope this clarifies.
But the example u are reffring from SUN needs J2EE compliant application server - JBoss or others.