posted 14 years ago
I am trying to deploy 2 stateless beans here.
One is PlaceBidBean
Other is DepInject (which has a dependency injection of PlaceBidBean)
The source code is as follows
I also tried it with simply @EJB instead of @EJB(beanName="ejb3inaction.example.buslogic.PlaceBidBean")
When i am deploying it gives me the following error :
12:09:11,158 ERROR [ProfileServiceBootstrap] Failed to load profile: Summary of incomplete deployments (SEE PREVIOUS ERRORS FOR DETAILS):
DEPLOYMENTS MISSING DEPENDENCIES:
Deployment "jboss.j2ee:jar=DepInject.jar,name=DepInjectImpl,service=EJB3" is missing the following dependencies:
Dependency "<UNKNOWN jboss.j2ee:jar=DepInject.jar,name=DepInjectImpl,service=EJB3>" (should be in state "Described", but is actually in state "** UNRESOLVED Demands 'jboss.j2ee:name=ejb3inaction.example.buslogic.PlaceBidBean,service=EJB3,* **")
DEPLOYMENTS IN ERROR:
Deployment "<UNKNOWN jboss.j2ee:jar=DepInject.jar,name=DepInjectImpl,service=EJB3>" is in error due to the following reason(s): ** UNRESOLVED Demands 'jboss.j2ee:name=ejb3inaction.example.buslogic.PlaceBidBean,service=EJB3,* **
I also placed the classes related to PladeBidBean in C:\jboss-5.0.1.GA\server\default\lib .
What could be the problem here.