Reverting include in project when deploying
Hi,
I was trying to resolve an issue of my code not being deployed correctly (compiled code was not updated) using Java EE. I ticked the box "include in project build" in the Run/Debug configuration > Deployment > Edit Artifact menu without really understanding what it did. Now deployment fails with the exception:
org.apache.catalina.LifecycleException: java.lang.RuntimeException: com.sun.faces.config.ConfigurationException: java.lang.Exception: No Function Found on type: org.primefaces.expression.SearchExpressionUtils with signature: java.lang.String resolveClientId(java.lang.String, javax.faces.component.UIComponent)
Unticking the "include project in build" doesn't resolve the issue. Is there a way to clear that setting?
Thanks,
Ian
请先登录再写评论。
Artifact should be built anyway no matter if you enable or disable this option because it's probably included in the Before Launch steps in the Run/Debug configuration, otherwise you will not see your changes at all.
Please see https://www.jetbrains.com/help/idea/updating-applications-on-application-servers.html .
There is probably some issue with the artifact configuration itself, please verify that all the required libraries and the compiler output is included in the artifact, see https://www.jetbrains.com/help/idea/artifacts.html.