on 06-30-2013 1:50 PM
Hi,
when trying to run my application in eclipse Juno with the SAP HANA Cloud local runtime from neo-sdk-javaee6-wp-2.10.0.1 I get on startup of the server the following error:
ERROR#javax.enterprise.resource.webcontainer.jsf.application##anonymous#Start Level Event Dispatcher###JSF1029: The specified InjectionProvider implementation 'org.eclipse.virgo.web.enterprise.jsf.support.VirgoJsfInjectionProvider' does not implement the InjectionProvider interface.
And indeed the injection does not seem to work, as I have inside a @ManagedBean an @EJB annotated member with a class type annotated with @Stateless @LocalBean and I get a NPE when accessing that member from a JSF page.
What can I do?
Any ideas to further diagnose the problem?
Thanks in advance,
Wolfgang
Apperently thi sproblem stoill exists. I get the error as well. Project Facets are only Dynamic Web Module, JavaScript and Java, but as soon as i use cxf-rt-frontend-jaxrs for the olingo servlets, i get this error. can you please advise how to handle it?
regards
Mathias
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Ok i was able to solve my Problem, but nevertheless i would like to know the reason behind it.
I needed to export the maven dependencies in eclipse buildpath and run an mvn clean install. But normaly maven should take care of the dependencies and not the exoport option of the buildpath options. In the Project Facets Jfaces and the like had to be deactivated as well.
Maybe someone can use this information.
Hi all,
meanwhile I am wiser: The problem appears when you include a JSF library in your project, In my case I tried to use a newer mojarra version (2.1.21). Within Eclipse I have in the Project the Dynamic Web Project 3.0 facet and downloaded and includes this mojarra version. I also selectedIn the property page "Java Server Faces" the option "Include libraries with this application". This triggers the error. I have downloaded the mojarra version 2.1.18 (since this version is used in neo-sdk-javaee6-wp-2.10.0.1) and use this version and I have deselected "Include libraries with this application". Everything works now again.
Regards,
Wolfgang
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Can you provide a small example that demonstrates the problem?
Did you make some custom changes to the SDK or you are using it as it is?
Regards
Violeta
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
82 | |
10 | |
10 | |
9 | |
6 | |
6 | |
5 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.