Note that there are some explanatory texts on larger screens.

plurals
  1. POJetty runs correctly via maven, but incorrectly as a jar
    primarykey
    data
    text
    <p>(If my title is misleading/incorrect please suggest something more descriptive, that the best I could think of)</p> <p>I've created my own web app using spring roo and have yet to edit any of the code. I am building and running the web app with maven and jetty. When I execute the following everything works fine.</p> <pre><code>mvn jetty:run </code></pre> <p>However when I package and then run the jar directly, I come across some strange problems. </p> <pre><code>mvn package java -jar target/dependency/jetty-runner.jar target/*.war </code></pre> <p>(Same thing with "mvn jetty:run-exploded")</p> <p>The main page loads as it should, but when I click one of the navigation links (to create or list my models) I end up with these errors printed to the browser (http://localhost:8080/pages/main.jsf)</p> <pre><code>HTTP ERROR 500 Problem accessing /pages/main.jsf. Reason: /pages/nameMeaning.xhtml @25,80 value="#{applicationBean.getColumnName(column)}" Error Parsing: #{applicationBean.getColumnName(column)} Caused by: javax.faces.view.facelets.TagAttributeException: /pages/nameMeaning.xhtml @25,80 value="#{applicationBean.getColumnName(column)}" Error Parsing: #{applicationBean.getColumnName(column)} at com.sun.faces.facelets.tag.TagAttributeImpl.getValueExpression(TagAttributeImpl.java:401) at com.sun.faces.facelets.tag.TagAttributeImpl.getValueExpression(TagAttributeImpl.java:351) at com.sun.faces.facelets.tag.jsf.ValueHolderRule$DynamicValueExpressionMetadata.applyMetadata(ValueHolderRule.java:129) at com.sun.faces.facelets.tag.MetadataImpl.applyMetadata(MetadataImpl.java:81) at javax.faces.view.facelets.MetaTagHandler.setAttributes(MetaTagHandler.java:129) at javax.faces.view.facelets.DelegatingMetaTagHandler.setAttributes(DelegatingMetaTagHandler.java:102) at com.sun.faces.facelets.tag.jsf.ComponentTagHandlerDelegateImpl.doNewComponentActions(ComponentTagHandlerDelegateImpl.java:398) at com.sun.faces.facelets.tag.jsf.ComponentTagHandlerDelegateImpl.apply(ComponentTagHandlerDelegateImpl.java:159) ... Caused by: javax.el.ELException: Error Parsing: #{applicationBean.getColumnName(column)} at com.sun.el.lang.ExpressionBuilder.createNodeInternal(ExpressionBuilder.java:171) at com.sun.el.lang.ExpressionBuilder.build(ExpressionBuilder.java:188) at com.sun.el.lang.ExpressionBuilder.createValueExpression(ExpressionBuilder.java:232) at com.sun.el.ExpressionFactoryImpl.createValueExpression(ExpressionFactoryImpl.java:92) at com.sun.faces.facelets.tag.TagAttributeImpl.getValueExpression(TagAttributeImpl.java:385) ... 95 more Caused by: com.sun.el.parser.ParseException: Encountered "(" at line 1, column 32. Was expecting one of: "}" ... "." ... "[" ... "&gt;" ... "gt" ... "&lt;" ... "lt" ... "&gt;=" ... "ge" ... "&lt;=" ... "le" ... "==" ... "eq" ... "!=" ... "ne" ... "&amp;&amp;" ... "and" ... "||" ... "or" ... "*" ... "+" ... "-" ... "?" ... "/" ... "div" ... "%" ... "mod" ... at com.sun.el.parser.ELParser.generateParseException(ELParser.java:1664) at com.sun.el.parser.ELParser.jj_consume_token(ELParser.java:1544) at com.sun.el.parser.ELParser.DeferredExpression(ELParser.java:147) at com.sun.el.parser.ELParser.CompositeExpression(ELParser.java:74) at com.sun.el.lang.ExpressionBuilder.createNodeInternal(ExpressionBuilder.java:139) ... 99 more Caused by: </code></pre> <p>Please see the pom.xml file here: <a href="http://pastebin.com/6aPpYP47" rel="nofollow">http://pastebin.com/6aPpYP47</a></p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload