cms /about_us throws exception
Posted: Mon Nov 26, 2012 12:14 pm
I have build my own app using the demo application. But when the cms pages its always throwing an exception as below.
2012-11-26 17:03:20.354:WARN:oejs.ServletHandler:/about_us
[artifact:mvn] org.thymeleaf.exceptions.TemplateProcessingException: Exception evaluating SpringEL expression: "media['primary']" (catalog/partials/productListItem:5)
[artifact:mvn] at org.thymeleaf.spring3.expression.SpelVariableExpressionEvaluator.evaluate(SpelVariableExpressionEvaluator.java:118)
[artifact:mvn] at org.thymeleaf.standard.expression.SelectionVariableExpression.executeSelectionVariable(SelectionVariableExpression.java:106)
[artifact:mvn] at org.thymeleaf.standard.expression.SimpleExpression.executeSimple(SimpleExpression.java:403)
[artifact:mvn] at org.thymeleaf.standard.expression.Expression.execute(Expression.java:230)
[artifact:mvn] at org.thymeleaf.standard.expression.StandardExpressionExecutor.executeExpression(StandardExpressionExecutor.java:62)
[artifact:mvn] at org.thy
My applicationContext-servlet.xml has the same entry like the demo site. Also the scripts are loading the right rows in the tables.
Any ideas what might be going wrong.
Om
2012-11-26 17:03:20.354:WARN:oejs.ServletHandler:/about_us
[artifact:mvn] org.thymeleaf.exceptions.TemplateProcessingException: Exception evaluating SpringEL expression: "media['primary']" (catalog/partials/productListItem:5)
[artifact:mvn] at org.thymeleaf.spring3.expression.SpelVariableExpressionEvaluator.evaluate(SpelVariableExpressionEvaluator.java:118)
[artifact:mvn] at org.thymeleaf.standard.expression.SelectionVariableExpression.executeSelectionVariable(SelectionVariableExpression.java:106)
[artifact:mvn] at org.thymeleaf.standard.expression.SimpleExpression.executeSimple(SimpleExpression.java:403)
[artifact:mvn] at org.thymeleaf.standard.expression.Expression.execute(Expression.java:230)
[artifact:mvn] at org.thymeleaf.standard.expression.StandardExpressionExecutor.executeExpression(StandardExpressionExecutor.java:62)
[artifact:mvn] at org.thy
My applicationContext-servlet.xml has the same entry like the demo site. Also the scripts are loading the right rows in the tables.
Any ideas what might be going wrong.
Om