首页 > 代码库 > myeclipse 使用maven , svn

myeclipse 使用maven , svn

最近在公司做项目,公司用Eclipse  + Maven ,感觉以前没比用MyEclipse爽,今天下了MyEclipse10 来搞搞。

遇到很多问题。终于在三点钟之前搞好了这些问题。


1.下载MyEclipse时遇到的问题。如何免费用MyEclipse的问题。

一般的下载MyEclipse时都是有自带的破解器。细心一点,跟着说明文档来操作一般都没什么问题。



2.下面接下来的问题的是如何安装SVN?


下面安装SVN,直接用图来说话:

====================================================================================================================================

====================================================================================================================================


====================================================================================================================================

3.跑Tomcat时候遇到一个问题

这个错误记录在下

<span style="font-size:14px;color:#FF0000;">SEVERE: ContainerBase.addChild: start: 
org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/sshe]]
	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:154)
	at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901)
	at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877)
	at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:633)
	at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1114)
	at org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1673)
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
	at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
	at java.util.concurrent.FutureTask.run(FutureTask.java:166)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
	at java.lang.Thread.run(Thread.java:722)
Caused by: java.lang.IllegalArgumentException: Filter mapping specifies an unknown filter name struts2
	at org.apache.catalina.core.StandardContext.validateFilterMap(StandardContext.java:3018)
	at org.apache.catalina.core.StandardContext.addFilterMap(StandardContext.java:2983)
	at org.apache.catalina.deploy.WebXml.configureContext(WebXml.java:1271)
	at org.apache.catalina.startup.ContextConfig.webConfig(ContextConfig.java:1353)
	at org.apache.catalina.startup.ContextConfig.configureStart(ContextConfig.java:878)
	at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:369)
	at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
	at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90)
	at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5179)
	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
	... 11 more</span>
最后找到了根源的所在,你所在的IDE所用的环境要跟你JDK的安装的JRE是要一样的,这样才能解决兼容的问题。

然后我就改了MyEclipse中的JRE,很开心的解决了这个问题