Win a copy of The Way of the Web Tester: A Beginner's Guide to Automating Tests this week in the Testing forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JDK 1.7 is not compiling jws file into class file

Bovas Chinnathambi
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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/

faultCode: {}Server.compileError
faultString: Error while compiling: /usr/local/tomcat/apache-tomcat-7.0.26/webapps/axis/WEB-INF/jwsClasses/
{}Errors:Error compiling /usr/local/tomcat/apache-tomcat-7.0.26/webapps/axis/WEB-INF/jwsClasses/
Line 1, column -1: cannot access
Line 0, column 0:
1 error

It would be great, if any valid suggestions for solving this problem. thanks in advance.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic