Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
    Bookmark Topic Watch Topic
  • New Topic

InstantiationException: bean not found within scope  RSS feed

 
aarati teacher
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Report post to moderator
i m trying to install an application on tomcat 4.0.6
i m using following piece of code in my welcome.jsp page
<jsp:useBean id="eventProcessor" type="com.sourcetap.sfa.event.GenericEventProcessor" scope="session" />

the class GenericEventProcessor is inside package
com/sourcetap/sfa/event inside web-inf/classes of my application folder

when i try to run the application, its givivng following error
java.lang.InstantiationException: bean eventProcessor not found within scope

thanks for all help in advance
 
Ben Souther
Sheriff
Posts: 13411
Firefox Browser Redhat VI Editor
  • Mark post as helpful
  • send pies
  • Report post to moderator
Duplicate of:
http://www.coderanch.com/t/287481/JSP/java/Package-not-found-error

aarati,
Please don't post the same question in multiple threads.
It wastes the time of the people who are trying to help you.
You question was answered in the aforementioned thread.

Also in that thread was a description of what display names need to be.
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 66141
141
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Report post to moderator
"aarati t",

There aren't may rules that have been put into place here on the Ranch, but one that we take very seriously regards the use of proper names. Please take a look at the JavaRanch Naming Policy and adjust your display name to match it.

In particular, your display name must be a first and a last name separated by a space character, and must not be obviously fictitious.

Thanks!
bear
Forum Bartender
 
    Bookmark Topic Watch Topic
  • New Topic
Boost this thread!