Questions tagged [m2e-wtp]

52 questions
4
votes
1 answer

Migrating from web.xml to Java based configuration - unable to start Tomcat 8

I am trying to migrate my app's web.xml to Java based configuration. We are using spring 4.1, Java 7, Servlet 3.1, Tomcat 8 and Eclipse Luna. The web service framework is Jersey 2.14. I used mainly the following guide:…
Eyal
  • 1,748
  • 2
  • 17
  • 31
4
votes
2 answers

How to get rid of "javax.servlet.jsp.PageContext cannot be resolved to a type" in jsp page with Eclipse?

I have this weird error in a .jsp page in eclipse: javax.servlet.jsp.PageContext cannot be resolved to a type My project is a maven project imported into "as an existing maven project" into juno with m2e and m2e-wtp plugins installed. Is this a bug…
Samuel Rossille
  • 18,940
  • 18
  • 62
  • 90
3
votes
0 answers

Integrate maven jsp/webapp project with eclipse

What is the current approach to integrate a maven webapp project with eclipse to get context-sensitive java-code support in jsp-files? In eclipse-luna, I can use the maven wizard with maven-archetype-webapp, to create the project, and it works…
Rop
  • 3,359
  • 3
  • 38
  • 59
3
votes
0 answers

Remote catalog is empty

Getting a Remote catalog is empty message for an archetype catalog I have been using for years. Searches only reference some old version of m2eclipse. I am using the STS 3.6.2 Windows latest release which has m2e version 1.4.1.20140328-1905 and…
Keith Smith
  • 41
  • 1
  • 5
3
votes
2 answers

I m trying to gzip js & css files at build time using wro4j Maven

I m trying to gzip js & css files at build time using wro4j Maven (invoked via m2e-wtp - using Eclipse Luna), but it is not working. I've tried with 1.7.5, 1.7.7 versions. Below is config I've: wro.xml: ro.isdc.wro4j
manikanta
  • 8,100
  • 5
  • 59
  • 66
3
votes
4 answers

Getting Maven (M2e and m2e wtp) plugins for use in Eclipse Indigo 3.7.2

I just installed eclipse 3.7.2 and was trying to get Maven plugins for it. I used Help->Install New Software and used this website to work with: http://download.eclipse.org/m2e-wtp/releases/juno/ I waited for 4 items to show up including: 2) Maven…
user2575059
  • 39
  • 1
  • 1
  • 2
2
votes
1 answer

What are the pre-requisites for using "Enable Workspace Resolution" in a Kotlin/Tomcat/Eclipse/Maven project?

UPDATE I edited the question after doing additional troubleshooting and realizing that the issue is specific to Kotlin and not a general problem with Eclipse. ORIGINAL QUESTION In an earlier question, I found that I need to set the Disable Workspace…
Alex R
  • 11,364
  • 15
  • 100
  • 180
2
votes
1 answer

M2e plugin changes org.eclipse.wst.common.component file each project open

Please help me understand or possibly stop Eclipse churn. I'm developing a webapp structured as a collection of Maven modules: 3 jars, 1 war. I'm using Eclipse mars j2ee, it has m2e version 1.6.3.20160209. Almost every time I switch branches and…
chrisinmtown
  • 3,571
  • 3
  • 34
  • 43
2
votes
1 answer

How do I get m2e-WTP to build jar dependencies with maven?

I'm using eclipse luna and I have 2 maven projects : a web application and a java library which is a dependency of the web application. library pom.xml :
Ghetolay
  • 3,222
  • 2
  • 30
  • 29
2
votes
1 answer

error while installing m2e-wtp plugin for eclipse kepler

I have tried installing m2e-wtp plugin but getting below error:- STDERR: Cannot complete the install because of a conflicting dependency. Software being installed: m2e-wtp - Maven Integration for WTP 1.0.1.20130911-1545…
user3465502
  • 71
  • 2
  • 7
2
votes
1 answer

android-maven-plugin 3.8.2 not covered by lifecycle

On Eclipse 4.3.2 my POM was using com.jayway.maven.plugins.android.generation2:android-maven-plugin:3.5.1 with no problems. I tried to upgrade it to 3.8.2 (the latest), and I got the dreaded "Plugin execution not covered by lifecycle configuration"…
Garret Wilson
  • 18,219
  • 30
  • 144
  • 272
2
votes
0 answers

prevent m2e-wtp to deploy test classes

my problem is, that test Classes get deployed when inside eclipse. A normal maven build is correct. So i see the culprit in M2e(-wtp) This answer does not help me. My eclipse settings are set per default accordingly as the answer states. But,…
cho
  • 553
  • 1
  • 4
  • 8
2
votes
1 answer

Maven Eclipse Integration

I have recently started out on Maven. I am trying to integrate Maven+eclipse(Juno)+tomcat7. I have downloaded m2e-wtp plugin for eclipse and created a Maven project whose structure follows a standard Maven project structure. It is also configured a…
Shailesh Vaishampayan
  • 1,766
  • 5
  • 24
  • 52
1
vote
0 answers

ClassNotFoundException with m2e-wtp in Eclips on republish

We're using Eclipse 4.5.1 with m2e 1.6.2 and m2e-wtp 1.2.1 for deploying a multi-module webapp to a Tomcat 8 server. We have enabled "Serve modules without publishing" and "Modules auto reload by default" in the server's configuration in…
Frank
  • 741
  • 1
  • 10
  • 24
1
vote
1 answer

Eclipse J2EE Preview reads unfiltered resources from .metadata dir instead of m2e-wtp/web-resources

I have a Maven WAR project, managed under Eclipse using m2e and m2e-wtp. In my pom.xml, I configure the maven-war-plugin to filter some resources in src/main/resources, and to put them in the classpath. My files are correctly filtered, both in…
FBB
  • 1,414
  • 2
  • 17
  • 29