• 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

Porting maven project to eclipse..... problem

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

I have a project that has been built with maven. Now I want to import it on eclipse but my eclipse does not have the maven plugg-in. I have imported it and resolved all the dependencies. The project is built upon struts framework. Now when I run the project from within eclipse it throws a run-time exception stating that application-context.xml does not exist even though I have put the application-context.xml in the WEB-INF folder. Please provide a suggestion cause my office does notr allow me to download the plug-inn for maven.
 
author
Posts: 5856
7
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Shounak. welcome to Java Ranch!

Are you sure that when your WAR gets built and deployed, that the deployed WAR contains WEB-INF/application-context.xml?

Also, even without the m2eclipsep lugin you can still use Maven to build your app. In your project's properties, look under Builders, click the New button, choose Program, and then fill in the information necessary to run mvn.

Shounak wrote:cause my office does notr allow me to download the plug-inn for maven.


I am now prying my fingers away from the keyboard before going into a rant about how some companies make it impossible for their employees to get any work done by dictating byzantine rules. You have my sympathy.
 
It's never done THAT before. Explain it to me tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic