• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

IntelliJ Maven Project Startup Error

 
Ranch Hand
Posts: 10198
3
Mac PPC Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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?

 
Joe San
Ranch Hand
Posts: 10198
3
Mac PPC Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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 San
Ranch Hand
Posts: 10198
3
Mac PPC Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
The same war when I manually deploy to Tomcat, runs without any problems. I just can't start it up from within an IDE.
 
Ranch Hand
Posts: 820
IntelliJ IDE VI Editor Tomcat Server
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
reply
    Bookmark Topic Watch Topic
  • New Topic