Announcement Announcement Module
Collapse
No announcement yet.
Grails startup error with patched jar Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Grails startup error with patched jar

    We are working on a grails project with spring. We have created a grails patched jar file. The patched file is org.grails-datastore-core-1.0.4.RELEASE.jar . We have placed it in the lib folder of our project and we are using the following code snippet in the BuildConfig.groovy file

    excludes "grails-datastore-core"

    The projects runs on some machines perfectly but it gives following error on some machines. It can't find the patched classes on some machines.

    ERROR [org.codehaus.groovy.grails.plugins.DefaultGrailsPl uginManager] (pool-7-thread-1 Error configuring dynamic methods for plugin [domainClass:2.0.3]: java.lang.NoClassDefFoundError: org/grails/datastore/mapping/core/SoftThreadLocalMap
    org.codehaus.groovy.runtime.InvokerInvocationExcep tion: java.lang.NoClassDefFoundError: org/grails/datastore/mapping/core/SoftThreadLocalMap
    at java.util.concurrent.FutureTask$Sync.innerRun(Futu reTask.java:334)
    at java.util.concurrent.FutureTask.run(FutureTask.jav a:166)
    at java.util.concurrent.ThreadPoolExecutor.runWorker( ThreadPoolExecutor.java:1146)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:615)
    at java.lang.Thread.run(Thread.java:679)
    Caused by: java.lang.NoClassDefFoundError: org/grails/datastore/mapping/core/SoftThreadLocalMap
    at org.grails.datastore.mapping.core.AbstractDatastor e.<clinit>(AbstractDatastore.java:46)
    at java.lang.Class.forName(Class.java:188)

    Any help will be appreciated.
Working...
X