• Post Reply Bookmark Topic Watch Topic
  • New Topic

error message when run jsp  RSS feed

 
Mag Yeoh
Ranch Hand
Posts: 42
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
org.apache.jasper.JasperException: /SimpleExample/AddDataStore2.jsp(11,0) The value for the useBean class attribute SimpleExample.DataStore is invalid.

-------------------------------------------------------------------------------
i having this error message when i run the jsp coding.....actually what is this error message mean???
i cannot solve this problem....have any one know???

Thanks.....
 
Stefan Evans
Bartender
Posts: 1834
10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It means that it can't find a valid class file for this class.

Check
- The file /WEB-INF/classes/SimpleExample/DataStore.class is present
- that file compiled successfully (recompile it?)
- DataStore.java has a public parameterless constructor
ie
 
Christophe Verré
Sheriff
Posts: 14691
16
Eclipse IDE Ubuntu VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It's also a good idea to name packages all lowercase, like "simpleexample"
 
Consider Paul's rocket mass heater.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!