aspose file tools*
The moose likes IDEs, Version Control and other tools and the fly likes IntelliJ Maven Project Startup Error Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "IntelliJ Maven Project Startup Error" Watch "IntelliJ Maven Project Startup Error" New topic
Author

IntelliJ Maven Project Startup Error

Joe Harry
Ranch Hand

Joined: Sep 26, 2006
Posts: 9389
    
    2

Guys,

I'm trying to fire up my Maven project which is a web application in a Tomcat container. But when I start the server, I get to see the following error. Completely clueless why this should happen. Any suggestions?



SCJP 1.4, SCWCD 1.4 - Hints for you, Certified Scrum Master
Did a rm -R / to find out that I lost my entire Linux installation!
Joe Harry
Ranch Hand

Joined: Sep 26, 2006
Posts: 9389
    
    2

I'm trying to work out my way to get a Tomcat + Maven app started form within an IDE. I first tried using Eclipse Indigo but had couple of issues with building my projects after I installed m2eclipse.

Then I wanted to try it out using IntelliJ. But facing the problems above. Can anyone here point me to some good resources that help me configure Tomcat + Maven and run them in Eclipse or IntelliJ?
Joe Harry
Ranch Hand

Joined: Sep 26, 2006
Posts: 9389
    
    2

The same war when I manually deploy to Tomcat, runs without any problems. I just can't start it up from within an IDE.
Tim McGuire
Ranch Hand

Joined: Apr 30, 2003
Posts: 820

If I saw the following error:


I would immediately assume that I have the wrong jar or a missing jar.

If you haven't already found it, check this thread that says the same thing:
http://forum.springsource.org/showthread.php?57313-org-springframework-util-ReflectionUtils-makeAcces-sible-NoSuchMethodException

The fact that it works when you deploy to Tomcat tells you that the correct jars are there in your webapp's lib directory (or maybe in Tomcat's lib).

If you examine the difference between what is in your lib directory when you compile and deploy manually and what ends up there after IDE/Maven deploy, you should spot your problem.
 
jQuery in Action, 2nd edition
 
subject: IntelliJ Maven Project Startup Error