Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Error in Javac compilation for JSP

 
Kanu Kaur
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Everyone,

I am getting an Error in Javac compilation for JSP.

This is the ERROR


reservationrequest.jsp is creating a new bean and setting all properties :



AND this is the JavaBean




My Project was working perfectly, but somehow when i ran it today it is giving me this error.

Thanks
 
Agnit Chatterjee
Greenhorn
Posts: 24
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Have you saved the Java classes in the proper place??? You should be keeping the classes under WEB-INF\classes\com\myproject
 
Kanu Kaur
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Agnit for replying.
When I go to WEB-INF\classes\com\myproject\beans, it does not show any file over there but in Source Packages, it shows the com.myproject.beans that contains the ReservationBean. Is this the problem?
 
Agnit Chatterjee
Greenhorn
Posts: 24
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If you are using IDE then the process is completely different
 
Kanu Kaur
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am using Netbeans. What should i do then?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic