This error is common, the javac compiler is not in classpath, put tools.jar in 
classpath of jboss startup. Put in eclipse setting plugin for jboss, tools.jar.

Claudio Miranda


> From: "Sullivan, Sean C - MLG" <[EMAIL PROTECTED]>
> To: "'[EMAIL PROTECTED]'"
> Date: Sun, 30 Jun 2002 21:03:39 -0700
> Subject: [JBoss-user] JBoss 3.0.0, Jetty, Eclipse 2.0
> 
> I am using the following software:
> 
>   Windows 2000
>   Eclipse 2.0 (final release)
>   Sun JDK 1.4.0_01
>   JBoss 3.0.0 with embedded Jetty servlet engine
>   Genuitec EASIE JBoss Plugin version 1.0EA5
>       ( http://www.genuitec.com/products.htm )
> 
>  
> In the Eclipse JBoss Plugin preferences page, I have:
> 
> "Optional Java VM arguments" set to "-Djboss.boot.loader.name=run.bat"
> 
> 
> When I click on "Start JBoss", JBoss starts up.
> 
> During startup, I observe this message:
> 
> 20:35:12,249 WARN  [Jetty] JSP compilation requires $JAVA_HOME/lib/tools.jar
> on your JBOSS_CLASSPATH
> 
>  
> Later, I try accessing a JSP page
> 
>       http://localhost:8080/menloexample/Simple.jsp
> 
> I observe this error:
> 
> 20:35:54,077 WARN  [Jetty] WARNING: Servlet Exception for
> /menloexample/Simple.jsp
> 
> java.lang.NoClassDefFoundError: sun/tools/javac/Main
>       at
> org.apache.jasper.compiler.SunJavaCompiler.compile(SunJavaCompiler.java:136)
>       at org.apache.jasper.compiler.Compiler.compile(Compiler.java:272)
>       at org.apache.jasper.servlet.JspServlet.loadJSP(JspServlet.java:548)





-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to