wood burning stoves 2.0*
The moose likes JBoss/WildFly and the fly likes jboss+tomcat  can not find tools.jar, how to solve it? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "jboss+tomcat  can not find tools.jar, how to solve it?" Watch "jboss+tomcat  can not find tools.jar, how to solve it?" New topic
Author

jboss+tomcat can not find tools.jar, how to solve it?

jeffrey z. lee
Ranch Hand

Joined: Mar 21, 2002
Posts: 40
the jboss I am using is bundled with tomcat. it can start normally, but and showes following message when JSP is accessed to:
############################
No Java compiler was found to compile the generated source for the JSP.
This can usually be solved by copying manually $JAVA_HOME/lib/tools.jar from the JDK to the common/lib directory of the Tomcat server, followed by a Tomcat restart. If using an alternate Java compiler, please check its installation and access path.
##############################

my problem is that the bundled tomcat has no the common/lib directory to put tools.jar. how to solve this problem?
thanks


jeffrey z. lee
Jeff Shelley
Ranch Hand

Joined: May 21, 2003
Posts: 70
Looks like the start script should be adding tools.jar to the classpath.

Is you JAVA_HOME set?


It's almost Friday
Martijn Verburg
author
Bartender

Joined: Jun 24, 2003
Posts: 3274
    
    5

Tools.jar in the class_path of the startup script it is, nice one Jeff (I had the same frustrating problem).

Karianna


Cheers, Martijn - Blog,
Twitter, PCGen, Ikasan, My The Well-Grounded Java Developer book!,
My start-up.
 
Don't get me started about those stupid light bulbs.
 
subject: jboss+tomcat can not find tools.jar, how to solve it?
 
Similar Threads
Help me please, this is for my graduation.
Unable to compile class for JSP
Unable to compile class for JSP No Java compiler was found to compile the generated s
Unable to compile class for JSP
class-path problem in tomcat.