aspose file tools*
The moose likes JSP and the fly likes Error Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "Error" Watch "Error" New topic
Author

Error

Mohini Dhanaskar
Ranch Hand

Joined: Mar 27, 2012
Posts: 52
hello All,


i am getting the following error while running JSP.

please help me out.
Jitendra Thakor
Greenhorn

Joined: May 11, 2012
Posts: 2
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

Joined: Mar 27, 2012
Posts: 52
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

Joined: May 11, 2012
Posts: 2
I would suggest that use another build tool or container or techniques to create war file.
amir taghvayi
Ranch Hand

Joined: Sep 16, 2011
Posts: 54
hi

please change project location Then delete build and dist folders . Finally clean and build your project .
Mohini Dhanaskar
Ranch Hand

Joined: Mar 27, 2012
Posts: 52
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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Error
 
Similar Threads
Formating formated string back into original number
a twitter client
ERROR: floating-point arguments should not appear in MIDlet pre-verification
Exception in thread "main" java.lang.RuntimeException: Uncompilable source code - Erroneous sym type
JSP error again