• 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

m2eclipse + strust2 == not work

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

I m using m2eclipse. after i add Struts2 dependencies it not work. it strange because in jsp it recognise struts2 taglib but it not compile.

http://le-esp.fr/Video/J2EE/mavenTomcatStruts2.wmv

Thanks in advance,
Stev
 
Sheriff
Posts: 9707
43
Android Google Web Toolkit Hibernate IntelliJ IDE Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Stev Chen wrote:after i add Struts2 dependencies it not work.


Stev please go through this page once then please explain your problem in detail (my office firewall blocked the video but I'm guessing its just a tutorial video)...
 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
First of all, make sure you have m2eclipse-wtp installed (http://m2eclipse.sonatype.org/sites/m2e-extras)

You need to select war packaging, when setting the maven configuration (or If your project is already created, change the packaging to war).
Eclipse WTP doesn't use the same defaults as Maven (or m2eclipse for that matter). You should configure warSourceDirectory in the maven-war-plugin, so it points to WebContent (http://maven.apache.org/plugins/maven-war-plugin/war-mojo.html)

In any case you will need to right-click on your project, Maven > Update Project configuration.
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic