This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
The moose likes Struts and the fly likes Struts Error: while deploying Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Struts Error: while deploying" Watch "Struts Error: while deploying" New topic

Struts Error: while deploying

divya sharma
Ranch Hand

Joined: Jan 25, 2007
Posts: 87

error message appear's when I try to deploy struts file.

Root cause is :
root cause

Unable to find a javac compiler; is not on the classpath.
Perhaps JAVA_HOME does not point to the JDK

Ernest Friedman-Hill
author and iconoclast

Joined: Jul 08, 2003
Posts: 24183

Perhaps we ought to move this to the Struts forum...

[Jess in Action][AskingGoodQuestions]
Merrill Higginson
Ranch Hand

Joined: Feb 15, 2005
Posts: 4864
This has nothing to do with Struts. It's a problem with the Tomcat App Server. The answer is right there in the stack trace:
Perhaps JAVA_HOME does not point to the JDK

To fix it, change your JAVA_HOME environment variable so that it points to a full Java SDK, rather than a Java runtime environment.

Consultant, Sima Solutions
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
subject: Struts Error: while deploying