Hi Dave,
there isn't any org.apache.commons.lang.xwork.StringUtils or other stuff. If
you take a look at xwork pom
file<http://svn.opensymphony.com/svn/xwork/trunk/core/pom.xml> you'll
see that it contains maven shade
plugin<http://maven.apache.org/plugins/maven-shade-plugin/examples/class-relocation.html>
's code.

I know it's terrible, but I simply replace
all org.apache.commons.lang.xwork. with org.apache.commons.lang. and it
works like a charm.

I hope this will help you.

2010/8/21 Dave Newton <davelnew...@gmail.com>

> Current trunk.
>
> Normal IntelliJ Maven project setup, but it refuses to deal with the XWork
> package renaming, and I have no idea (harhar) why not. The correct classes
> are in the XWork jar in the repo
> (like org.apache.commons.lang.xwork.StringUtils), but IntelliJ doesn't see
> it and continues to try to grab IDEA's compilation results.
>
> I've tried the typical random stuff, like (cmdline) rebuilding, (IntelliJ)
> force reimporting, (IntelliJ) reloading folders, whatever other stuff I
> could find that seemed even reasonably close.
>
> If I have a project with *just* s2-core, everything works, I assume because
> the XWork stuff isn't in the current project, but I had kind of wanted to
> have everything "local".
>
> Anybody dealt/fixed with this before?
>
> Thanks,
> Dave
>

Reply via email to