| 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.
|
 |
 |
|
|
subject: Error
|
|
|