Networks

Question

Locked

i hv error in servlet (java),plz anyone help me?

By nvprt13 ·
C:\Users\HP>d:

\> cd \app\WEB-INF\classes

\app\WEB-INF\classes>javac MyServer.java
MyServer.java:4: cannot access javax.servlet.Servlet
bad class file: \Tomcat 6.0\lib\servlet-api.jar(javax/servlet/Servlet.class)
class file has wrong version 49.0, should be 47.0
Please remove or make sure it appears in the correct subdirectory of the classpa
th.
public class MyServer implements Servlet
^
1 error
this error cme whem am open tomcat server,and also not compile java file,above error is cme,any body tell me about this.?

This conversation is currently closed to new comments.

Thread display: Collapse - | Expand +

All Answers

Share your knowledge

Related Discussions

Related Forums