m2eclipse

Where is the “Maven->Update project configuration” menu item?

…衆ロ難τιáo~ 提交于 2019-12-19 19:43:31
问题 I am having a Missing Maven dependencies in Eclipse project exactly as described in this question, and I would love to use the solution found, but when I right-click my project in Project Explorer I can't find any such menu item: If I right-click the project's pom.xml , all I see in the Maven's menu is: Any idea what I should be doing to enable that Update project configuration menu option? 回答1: Righ click on the project: >Configure>Convert to Maven project And then you can Update project

maven missing artifact

放肆的年华 提交于 2019-12-19 06:41:24
问题 I have a maven project which until yesterday was being build normally. Now whenever i try to build using m2e it fails to build because it could not resolve dependencies, but these dependencies are not missing and they are found in my local repository. I know that this question has been asked before but none of the answers solved my problem. I have tried many things: deleting the cache. closing the project and reopening it. doing a clean install of the project. Yet no result. So is there more

Eclipse Maven Plugin Configuration Problem

不问归期 提交于 2019-12-18 23:43:12
问题 I have followed this thread now when i try to build using maven plugin installed i am getting following error. goal i executed was clean -X install Unable to locate the Javac Compiler in: C:\Program Files\Java\jre6\..\lib\tools.jar Please ensure you are using JDK 1.4 or above and not a JRE (the com.sun.tools.javac.Main class is required). In most cases you can change the location of your Java installation by setting the JAVA_HOME environment variable. -> [Help 1] org.apache.maven.lifecycle

PyDev for Eclipse - Resolve Python dependencies (unresolved imports)

拟墨画扇 提交于 2019-12-18 14:57:15
问题 I am using PyDev for Eclipse as my IDE and pip as my package management tool, running virtualenv. Every time I want to use/include some new libraries or new dependencies in my project, I add them into the pip-requires file. The dependencies are installed in my virtual environment with no problem after running pip install -r pip-requires . My Env : Ubuntu 12.04 PyDev for Eclipse 2.7.1.2012100913 Python 2.7.3 Eclipse indigo Update: My Pydev Setup : Questions: eclipse/pydev knows nothing about

ClassNotFoundException when running a Spring + Maven2 project on Tomcat 6 from within Eclipse 3.5

蹲街弑〆低调 提交于 2019-12-18 11:11:17
问题 When trying to launch a Web project from within Eclipse I get: SEVERE: Error configuring application listener of class org.springframework.web.context.ContextLoaderListener java.lang.ClassNotFoundException: org.springframework.web.context.ContextLoaderListener at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1387) at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1233) at org.apache.catalina.core.StandardContext.listenerStart

ClassNotFoundException when running a Spring + Maven2 project on Tomcat 6 from within Eclipse 3.5

爱⌒轻易说出口 提交于 2019-12-18 11:09:38
问题 When trying to launch a Web project from within Eclipse I get: SEVERE: Error configuring application listener of class org.springframework.web.context.ContextLoaderListener java.lang.ClassNotFoundException: org.springframework.web.context.ContextLoaderListener at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1387) at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1233) at org.apache.catalina.core.StandardContext.listenerStart

How do I find the correct Maven archetype project for developing with Scala in Eclipse?

白昼怎懂夜的黑 提交于 2019-12-18 10:20:20
问题 I'm having problems trying to just create a Maven project using Scala (v2.11.6) within Eclipse (Luna). The instructions here says to install both plugins below. Maven Integration in Eclipse m2eclipse-scala connector Both plugins can be installed by using the m2eclipse-scala update site. So here's what I did in my first attempt. Download Eclipse Luna (for JavaEE developers) Install "both" plugins above by using the m2eclipse-scala update site. When Eclipse loads up, I attempt to create a Maven

Maven: adding a reference to a parent pom project

时光怂恿深爱的人放手 提交于 2019-12-18 03:57:28
问题 I'm not sure if I'm understanding how to use a parent pom project correctly. I have the following parent pom defined: <modelVersion>4.0.0</modelVersion> <groupId>com.example</groupId> <artifactId>parent</artifactId> <version>0.0.1-SNAPSHOT</version> <packaging>pom</packaging> <modules> <module>../child1</module> <module>../child2</module> </modules> And then the children pom reference the parent (each child has their own set of dependencies which are not shown): <parent> <groupId>com.example<

Eclipse won't launch because `reload maven project has encountered a p‌r‌o‌b‌l‌e‌m`

浪子不回头ぞ 提交于 2019-12-18 03:24:37
问题 When I try to start Eclipse Luna in CentOS 7, I get the following dialog box: How can I resolve this and get eclipse to start? 回答1: I removed .metada from workspace and reimported the maven projects as quick and dirty solution. You loose your Eclipse settings, you can try to play with metadata. 回答2: Instead of deleting the whole .metadata folder, just delete the file .metadata/.plugins/org.eclipse.e4.workbench/workbench.xmi" You need to make sure to quit eclipse first, then remove this file

Eclipse won't launch because `reload maven project has encountered a p‌r‌o‌b‌l‌e‌m`

房东的猫 提交于 2019-12-18 03:24:06
问题 When I try to start Eclipse Luna in CentOS 7, I get the following dialog box: How can I resolve this and get eclipse to start? 回答1: I removed .metada from workspace and reimported the maven projects as quick and dirty solution. You loose your Eclipse settings, you can try to play with metadata. 回答2: Instead of deleting the whole .metadata folder, just delete the file .metadata/.plugins/org.eclipse.e4.workbench/workbench.xmi" You need to make sure to quit eclipse first, then remove this file