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

Maven POM uses incorrect stax-api dependency [SWS-492] #625

gregturn opened this issue Mar 9, 2009 · 1 comment

Maven POM uses incorrect stax-api dependency [SWS-492] #625

gregturn opened this issue Mar 9, 2009 · 1 comment


Copy link

@gregturn gregturn commented Mar 9, 2009

Patrick Crocker opened SWS-492 and commented

These POMs all reference the stax:stax-api:1.0.1 (groupId:artifactId:version) dependency for the 'jdk14-jdk15' profile.

This stax jar file incorrectly includes the following classes:


When deploying on Oracle Application Server 10g, this will cause the following exception:

Caused by: java.lang.LinkageError: loader constraints violated when linking javax/xml/namespace/QName class
        at com.sun.xml.bind.v2.model.impl.RuntimeBuiltinLeafInfoImpl.<clinit>(

The work-around is to exclude the stax:stax-api:1.0.1 dependency and include the dependency. This jar file only includes classes in the package and does not include any extraneous packages or classes.

Referenced from: commits 8899569, 3117dfc

1 votes, 2 watchers

Copy link
Member Author

@gregturn gregturn commented May 4, 2012

Arjen Poutsma commented

Closing old issues

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.