This week's book giveaway is in the OCMJEA forum.
We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line!
See this thread for details.
The moose likes Web Services and the fly likes JDK 1.7 is not compiling jws file into class file Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "JDK 1.7 is not compiling jws file into class file" Watch "JDK 1.7 is not compiling jws file into class file" New topic
Author

JDK 1.7 is not compiling jws file into class file

Bovas Chinnathambi
Greenhorn

Joined: Aug 08, 2012
Posts: 2
I have written a jws file and placed it in tomcat6 axis. While calling this jws file from the browser (http://localhost:8080/axis/example.jws) , the class file was created in the folder jwsclasses which is generated by AxisServlet.
Recently i upgraded my java version from 1.6 to 1.7 and tomcat6 to tomcat7. After that the class files were not created automatically. The following error is coming, when we tried to access that jws file from the browser.

Sorry, something seems to have gone wrong... here are the details:

Fault - Error while compiling: /usr/local/tomcat/apache-tomcat-7.0.26/webapps/axis/WEB-INF/jwsClasses/Example.java

AxisFault
faultCode: {http://xml.apache.org/axis/}Server.compileError
faultSubcode:
faultString: Error while compiling: /usr/local/tomcat/apache-tomcat-7.0.26/webapps/axis/WEB-INF/jwsClasses/Example.java
faultActor:
faultNode:
faultDetail:
{}Errors:Error compiling /usr/local/tomcat/apache-tomcat-7.0.26/webapps/axis/WEB-INF/jwsClasses/Example.java:
Line 1, column -1: cannot access java.io.BufferedReader
Line 0, column 0:
1 error

It would be great, if any valid suggestions for solving this problem. thanks in advance.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: JDK 1.7 is not compiling jws file into class file