Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error in run-app after installing Excel-import 1.0 #3

Open
ckthum opened this issue Feb 12, 2012 · 2 comments
Open

Error in run-app after installing Excel-import 1.0 #3

ckthum opened this issue Feb 12, 2012 · 2 comments

Comments

@ckthum
Copy link

ckthum commented Feb 12, 2012

Hi, I am getting the following error after installing the plugin for Grails 2.0 :

Error Error executing script RunApp: loader constraint violation: loader (instance of ) previously initiated loading for a different type with name "org/w3c/dom/TypeInfo" (Use --stacktrace to see the full trace)

I have managed to solve it by replacing the C:\Users.grails\ivy-cache\org.apache.xmlbeans\xmlbeans\jars\xmlbeans-2.3.0.jar with the one comes with the plugin
C:\Users.grails\2.0.0\projects\testing\plugins\excel-import-1.0.0\lib\xmlbeans-2.3.0-without-w3c.jar

Just wondering whether there is a better way ? Thx.

@jbarmash
Copy link
Owner

Hmm. That one I am not sure. I git it to work on the sample app included, but I didn't yet upgrade our main application to 2.0. The main app would likely have issues with xml libraries such as one you saw.

@jdgiotta
Copy link

I've run into this same issue. Upgraded from 1.3.4 to 2.0.4 and now builds fail. Was this ever resolved?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants