This week's book giveaway is in the Cloud/Virtualizaton forum.
We're giving away four copies of Mesos in Action and have Roger Ignazio on-line!
See this thread for details.
Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Error

 
Mohini Dhanaskar
Ranch Hand
Posts: 55
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hello All,


i am getting the following error while running JSP.

please help me out.
 
Jitendra Thakor
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

Looking at your error I think your file name and public class name is different. So I am considering that SiteMap.jsp is a jsp file so when container create servlet the file name must be SiteMap_jsp.java and that file class name must be SiteMap_jsp. It shouldn't be done manually not sure why it is happing but check your build tool
is something present which change the file name.
 
Mohini Dhanaskar
Ranch Hand
Posts: 55
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
ok Sir,

but i tried a lot, in fact i delete that SiteMap jsp and tried to run another jsp pages but
still getting the same error.

No getting what to do.please suggest
 
Jitendra Thakor
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I would suggest that use another build tool or container or techniques to create war file.
 
amir taghvayi
Ranch Hand
Posts: 54
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi

please change project location Then delete build and dist folders . Finally clean and build your project .
 
Mohini Dhanaskar
Ranch Hand
Posts: 55
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sir ,i have changed the location of the project ,if i delete these two folder build and dist.

Can it automatically be created or should i have to created another after deleting them.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic