<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Java堂 &#187; m2eclipse</title>
	<atom:link href="http://www.javatang.com/archives/tag/m2eclipse/feed" rel="self" type="application/rss+xml" />
	<link>http://www.javatang.com</link>
	<description>Java Tang</description>
	<lastBuildDate>Thu, 08 Dec 2011 08:29:06 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>m2eclipse插件使用中提示jar包找不到的解决方法</title>
		<link>http://www.javatang.com/archives/2010/01/31/3312389.html</link>
		<comments>http://www.javatang.com/archives/2010/01/31/3312389.html#comments</comments>
		<pubDate>Sun, 31 Jan 2010 08:33:12 +0000</pubDate>
		<dc:creator>Jet</dc:creator>
				<category><![CDATA[JavaPlateform]]></category>
		<category><![CDATA[m2eclipse]]></category>
		<category><![CDATA[maven]]></category>

		<guid isPermaLink="false">http://www.javatang.com/?p=389</guid>
		<description><![CDATA[在Eclipse中使用m2eclipse开发Maven项目的时候，如果是创建Module项目的时候经常会莫名的出现找不到子模块包的错误信息，但是pom.xml已经加入了改包的引用，并且使用mvn deploy命令等编译也没有任何错误，后来在Eclipse中的Marks View中发现一个项目的warning信息： Classpath entry org.maven.ide.eclipse.MAVEN2_CLASSPATH_CONTAINER will not be exported or published. Runtime ClassNotFoundExceptions may result. 后来Google了一下，解决这个warning的步骤如下： 1. 首先右键项目，然后选择“Properties”，在左边选择Java Build Path，然后在右边的“Order andExport”标签中选中最下面的“Maven Dependencies”，然后确定； 2. 选择“Marks”或“Problems”视图，然后选中那个warning信息，右键选择“Quick Fix”，然后直接选择“Finish”，这样就可以了。 如果还是出现错误的信息，直接在上面的视图中右键删除提示就可以了。 参考资料： Why the “MAVEN2_CLASSPATH_CONTAINER will not be exported or published” Related Posts:在Eclipse WTP中加入Resin server adapter在VC++ 2005中编写SAPI程序Maven2部署构件到Nexus时出现的Failed to transfer file错误Ubuntu下面安装Macbuntu及安装之后需要修改的几个问题客户真正的需求原来是这样的]]></description>
			<content:encoded><![CDATA[<p>在Eclipse中使用m2eclipse开发Maven项目的时候，如果是创建Module项目的时候经常会莫名的出现找不到子模块包的错误信息，但是pom.xml已经加入了改包的引用，并且使用mvn deploy命令等编译也没有任何错误，后来在Eclipse中的Marks View中发现一个项目的warning信息：</p>
<blockquote><p>
Classpath entry org.maven.ide.eclipse.MAVEN2_CLASSPATH_CONTAINER will not be exported or published. Runtime ClassNotFoundExceptions may result.
</p></blockquote>
<p>后来Google了一下，解决这个warning的步骤如下：<br />
1. 首先右键项目，然后选择“Properties”，在左边选择Java Build Path，然后在右边的“Order andExport”标签中选中最下面的“Maven Dependencies”，然后确定；<br />
<img src="http://www.javatang.com/wp-content/maven_warning.png" alt="" title="maven_warning" width="669" height="468" class="alignnone size-full wp-image-390" /><br />
2. 选择“Marks”或“Problems”视图，然后选中那个warning信息，右键选择“Quick Fix”，然后直接选择“Finish”，这样就可以了。</p>
<p>如果还是出现错误的信息，直接在上面的视图中右键删除提示就可以了。</p>
<p>参考资料：<br />
<a href="http://geertschuring.wordpress.com/2009/03/05/why-the-maven2_classpath_container-will-not-be-exported-or-published/" target="_blank">Why the “MAVEN2_CLASSPATH_CONTAINER will not be exported or published”</a></p>
<div id="crp_related"><h2>Related Posts:</h2><ul><li><a href="http://www.javatang.com/archives/2009/12/30/0134324.html" rel="bookmark" class="crp_title">在Eclipse WTP中加入Resin server adapter</a></li><li><a href="http://www.javatang.com/archives/2009/02/10/4240284.html" rel="bookmark" class="crp_title">在VC++ 2005中编写SAPI程序</a></li><li><a href="http://www.javatang.com/archives/2010/01/23/4518375.html" rel="bookmark" class="crp_title">Maven2部署构件到Nexus时出现的Failed to transfer file错误</a></li><li><a href="http://www.javatang.com/archives/2010/11/27/1657519.html" rel="bookmark" class="crp_title">Ubuntu下面安装Macbuntu及安装之后需要修改的几个问题</a></li><li><a href="http://www.javatang.com/archives/2010/07/07/2157401.html" rel="bookmark" class="crp_title">客户真正的需求原来是这样的</a></li></ul></div>]]></content:encoded>
			<wfw:commentRss>http://www.javatang.com/archives/2010/01/31/3312389.html/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Served from: www.javatang.com @ 2012-02-10 07:57:10 -->
