I use Eclipse Helios, Glassfish 3.0.1 (Full Platform) and myfaces 2.0.
There are two projects in the workspace: a simple Java project (=> JP) and a dynamic web project (=> WP). I added JP to the WP class path.
I added one class from JP as a managed bean to the faces-config.xml WP file.
<managed-bean>
<managed-bean-name>myBean</managed-bean-name>
<managed-bean-class>myPackage.MyBean</managed-bean-class>
<managed-bean-scope>application</managed-bean-scope>
</managed-bean>
When I deploy the package and make a request, an error message is displayed. It says the class myPackage.MyBean was not found.
If I browse the WEB-INF / classes directory of a deployed and running WP project, this directory is empty.
I haven't written any classes inside WP yet, but shouldn't be JP classes in this directory?
What can be done to deploy JP with WP?
Thanks in advance.