2011-10-01 3 views
2

m2eclipse 마법사를 통해 새 프로젝트를 만들고 빈 liftweb 아키타 입을 선택했습니다. 프로젝트가 생성되었고 프로젝트에 스칼라 속성이 추가되었습니다 (당분간 maven-scala 플러그인이 설치되지 않았습니다).Maven and Eclipse Lift Project Errors

목표 jetty:run을 사용하여 프로젝트를 실행할 수 있습니다. 그러나, 나는 여전히 다음과 같은 오류가 (아무 짓도 안 했어요 프로젝트 청소) 일식에 표시가 : 여기

Description Resource Path Location Type 
error while loading Helpers, Scala signature Helpers has wrong version expected: 5.0 found: 4.1 in C:\Users\Ken\.m2\repository\net\liftweb\lift-webkit\0.8\lift-webkit-0.8.jar(net/liftweb/util/Helpers.class) first  Unknown Scala Problem 
error while loading LiftRules, Scala signature LiftRules has wrong version expected: 5.0 found: 4.1 in C:\Users\Ken\.m2\repository\net\liftweb\lift-webkit\0.8\lift-webkit-0.8.jar(net/liftweb/http/LiftRules.class) first  Unknown Scala Problem 
error while loading Loc, Scala signature Loc has wrong version expected: 5.0 found: 4.1 in C:\Users\Ken\.m2\repository\net\liftweb\lift-webkit\0.8\lift-webkit-0.8.jar(net/liftweb/sitemap/Loc.class) first  Unknown Scala Problem 
error while loading MainGenericRunner, Scala signature MainGenericRunner has wrong version expected: 5.0 found: 4.1 in C:\Users\Ken\.m2\repository\org\scala-lang\scala-compiler\2.7.1\scala-compiler-2.7.1.jar(scala/tools/nsc/MainGenericRunner.class) first  Unknown Scala Problem 
error while loading Menu, Scala signature Menu has wrong version expected: 5.0 found: 4.1 in C:\Users\Ken\.m2\repository\net\liftweb\lift-webkit\0.8\lift-webkit-0.8.jar(net/liftweb/sitemap/Menu.class) first  Unknown Scala Problem 
Plugin execution not covered by lifecycle configuration: org.scala-tools:maven-scala-plugin:2.15.2:compile (execution: default, phase: compile) pom.xml /first line 76 Maven Project Build Lifecycle Mapping Problem 
Plugin execution not covered by lifecycle configuration: org.scala-tools:maven-scala-plugin:2.15.2:testCompile (execution: default, phase: test-compile) pom.xml /first line 76 Maven Project Build Lifecycle Mapping Problem 

은 (쉽게 읽을 수 있습니다 오류의 스크린 샷입니다, 전체 크기의 이미지를 클릭) :

Errors

아무도 여기에 무슨 일이 일어나고 있는지 알고 있나요? 어떤 제안?

추가 정보 :

다음 경고는 내가 프로젝트를 실행할 때 올

: 내가 들어 올릴 새로운 오전

[WARNING] 
[WARNING] Some problems were encountered while building the effective model for com.kpthunder.lift:first:war:0.0.1-SNAPSHOT 
[WARNING] 'build.plugins.plugin.version' for org.mortbay.jetty:maven-jetty-plugin is missing. @ line 87, column 15 
[WARNING] 'build.plugins.plugin.version' for net.sf.alchim:yuicompressor-maven-plugin is missing. @ line 95, column 15 
[WARNING] 'build.plugins.plugin.version' for org.scala-tools:maven-scala-plugin is missing. @ line 72, column 15 
[WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-eclipse-plugin is missing. @ line 109, column 15 
[WARNING] 'reporting.plugins.plugin.version' for org.scala-tools:maven-scala-plugin is missing. @ line 133, column 15 
[WARNING] 
[WARNING] It is highly recommended to fix these problems because they threaten the stability of your build. 
[WARNING] 
[WARNING] For this reason, future Maven versions might no longer support building such malformed projects. 
[WARNING] 
[WARNING] Using platform encoding (Cp1252 actually) to copy filtered resources, i.e. build is platform dependent! 

답변

0

을하지만, 설명 here을 사용하고, 그것을 만들 수 있었다 작업.