(Java&Maven)
I have two projects built with maven. One of them includes the other.
The new requirement that I have done is working in the original (common) project, but, even the simplest call to this functionality from the upper project results with an error (in current case with ClassNotFoundException, but this can be any time of error).
Here is one of the thing that should be done when you don't have the clue - check dependencies. By using maven it is possible to have a mess with them if you do not use exclusions within dependency tags. This way you can get two versions of the same JAR downloaded, and the older version used - so you got the class not found exception.
Useful tool is within Eclipse Galileo: open pom.xml and check all items within Dependency Hierarchy. From there you can build a list with duplicated and conflicted versions of JARs, and a list of exclusions you need to set in same pom.xml file.
After altering pom.xml file, check the hierarchy again - you should have one position in the hierarchy for each resolved dependency (or at least positions within same library in the hierarchy without any conflicts).
Showing posts with label Eclipse. Show all posts
Showing posts with label Eclipse. Show all posts
Monday, 22 November 2010
Friday, 6 February 2009
Eclipse Tomcat in more than 45 seconds
(Eclipse 3.3 - for Eclipse 3.4+ check comments on this post)
Do you have some web application that cannot be started in Eclipse's Tomcat in 45s, and you get that annoying time out message?
Do you have some web application that cannot be started in Eclipse's Tomcat in 45s, and you get that annoying time out message?
- Go to Windows > Preferences in Eclipse
- Search for Server
- Set Server timeout delay at you're own will
Preference TimeOut Shorter 11s Short 22s Normal 45s Long 90s Longer 180s Unlimited unlimitedSource: https://bugs.eclipse.org/bugs/show_bug.cgi?id=151993
Subscribe to:
Posts (Atom)
Popular Posts
-
(Archiva 1.1.3 with default Derby database) Many times I have had this problem. It's time to note the solution here, so I would not wa...
-
(Eclipse 3.3 - for Eclipse 3.4+ check comments on this post) Do you have some web application that cannot be started in Eclipse's Tomc...
-
[I've noticed that not much developers know about "Data Flow to Here" option in IntelliJ, and I find it very useful. So, now ...
