Deployments problems

Answered

Hi,

I'm trying to run a JSF 2.2 JDK8 JEE7 Maven project on Glassfish 4 or WildFly 10 servers.

I've tried with four projects on those servers, which if I run through NetBeans, works well.

The fact is that, I don't know how, the view doesn't "communicate" with the managed beans if the application is deployed through IDEA.

The WAR seems to be successfuly deployed, and the web pages show its content.

The problem comes when an EL expression is called, the server throws this message: 

  • Caused by: javax.el.PropertyNotFoundException: /dir/page.xhtml @123,119 value="#{beanName.action}": Target Unreachable, identifier 'beanName' resolved to null

It doesn't matter if it's a button, a text or whatever: no one single EL expression works.

I've tried with several deployment configurations: local, remote, added JAR instead of Arctifact on "Deployment" tab, modified the "Before launch" items on Server tab...

I guess NetBeans deploys its applications in a different way of how IntelliJ does, or I'm missing some necesary configuration.

Any ideas?

0

Please sign in to leave a comment.