Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Web Tools Project (WTP) » Bean changes Not Being Recognized
Bean changes Not Being Recognized [message #222567] Sat, 04 October 2008 14:56 Go to previous message
John Bailo is currently offline John Bailo
Messages: 34
Registered: July 2009
Member
I created an EJB project and added an EJB Stateless Bean (according to
this tutorial:

http://www.eclipse.org/webtools/community/tutorials/ejbtutor ial/buildingejbs.html

I created a Dynamic Web Project, added a jsp page, referenced the Bean and
it worked -- I could run the Bean.

However, my problems started when I tried to add any more functionality to
the Bean -- although the intellisense recognized new methods and beans and
let me add them and even automatically added the IMPORT reference, when I
ran the jsp before it had a chance to render the page it said:

"Only a type can be imported. com.bowne.NewBean resolves to a package"

I tried:

Creating a brand new Dynamic Web Project
Creating a new package inside the EJB project
Exporting the EJB project as a jar and referencing that

Nothing seems to allow the Web Project to access additional functionality
in the Bean without throwing error.

I also notice that even though I changed the functionality (just a simple
String return) of the original method -- the jsp page still outputs the
value of the original method!!

I cannot figure out how to get that original Bean out of Eclipse/JBoss/My
Project's config!?
 
Read Message
Read Message
Read Message
Previous Topic:Disable HTML validation for javadoc
Next Topic:How to add "New Project" wizard to the Java EE Perspective?
Goto Forum:
  


Current Time: Thu May 23 12:27:48 EDT 2013

Powered by FUDForum. Page generated in 0.05230 seconds