Win a copy of Java EE 8 High Performance this week in the Java/Jakarta EE forum!
    Bookmark Topic Watch Topic
  • New Topic

InstantiationException: bean not found within scope  RSS feed

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
Posts: 13411
Firefox Browser Redhat VI Editor
  • Mark post as helpful
  • send pies
  • Report post to moderator
Duplicate of:

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.
Author and ninkuma
Posts: 66427
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.

Forum Bartender
It is sorta covered in the JavaRanch Style Guide.
    Bookmark Topic Watch Topic
  • New Topic
Boost this thread!