Quantcast
Channel: JetBrains Developer Community : All Content - IntelliJ IDEA Users
Viewing all articles
Browse latest Browse all 5481

dependencies priority not working like Tomcat classloader

$
0
0

hello,

 

I have a webapp which uses a jar, containing

class B extends A

I also have .class files which contain class A again, in a different version.

 

Now the Tomcat class loader really works in such a way that it takes class B from the jar, but class A from WEB-INF/classes. But in Idea, even though the classes directory is above the jar in the Dependencies tab, does not. So it shows all sorts of syntax errors in the code which aren't actually for real, and auto-complete, viewing parameter lists etc. doesn't work.

 

This is a huge problem, because I already have no JavaDoc and no source code for either of those 3 classes.

 

How can I give a dependency for a module a higher priority than another one? As I said, it is already above it in the list, I moved it.


Viewing all articles
Browse latest Browse all 5481

Latest Images

Trending Articles



Latest Images