Reputation: 1044
i'm testing grails 2.3.0 but whe i create the war (prod, test, dev) and try to start tomcat (7.0.42) always get this exception:
2013-09-25 18:23:03,448 [localhost-startStop-1] ERROR context.GrailsContextLoader - Error initializing the application: No signature of method: groovy.xml.streamingmarkupsupport.StreamingMarkupWriter.attributeValue() is applicable for argument types: () values: []
groovy.lang.MissingMethodException: No signature of method: groovy.xml.streamingmarkupsupport.StreamingMarkupWriter.attributeValue() is applicable for argument types: () values: []
at grails.spring.DynamicElementReader$_invokeMethod_closure1.doCall(DynamicElementReader.groovy:109)
at grails.spring.DynamicElementReader.invokeMethod(DynamicElementReader.groovy:117)
at grails.spring.BeanBuilder.invokeBeanDefiningClosure(BeanBuilder.java:756)
at grails.spring.BeanBuilder.beans(BeanBuilder.java:584)
at grails.spring.BeanBuilder.invokeMethod(BeanBuilder.java:527)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
at java.util.concurrent.FutureTask.run(FutureTask.java:262)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:724)
any ideas?
Upvotes: 0
Views: 248
Reputation: 5540
It's possible you have multiple jar version of the same lib in your grails class path. Try to remove your
rm -Rf ~/.grails
rm -Rf ~/.m2
grails clean
grails run-app
If no success try to run a jarscan on your grails project jars to find duplicate class definitions.
Upvotes: 2