2013-12-09 6 views
6

GWT를 사용하여 응용 프로그램을 개발 중이며, Apache Tomcat 7의 Maven은 인텔리전트 아이디어로 개발 중입니다. 내가 최근에 디버깅 내 응용 프로그램을 실행하지만, 다음과 같은 문제에 직면 : Error running Tomcat 7: HTTP Connector node not found: set up one in the server.xml.Apache Tomcat 7 HTTP 커넥터 노드가 intelliJ에 없습니다.

아파치 톰캣 실행 코드 :

"c:\program files (x86)\jetbrains\intellij idea 11.1.4\jre\jre\bin\java" -Dclassworlds.conf=C:\Tools\apache-maven-3.1.1\bin\m2.conf -Dmaven.home=C:\Tools\apache-maven-3.1.1 -Dfile.encoding=UTF-8 -classpath C:\Tools\apache-maven-3.1.1\boot\plexus-classworlds-2.5.1.jar org.codehaus.classworlds.Launcher --offline --no-plugin-registry --fail-fast --strict-checksums --update-snapshots -f D:\Projects\ebank\pom.xml package -P gwtDebug,oracle 
[WARNING] Command line option -npr is deprecated and will be removed in future Maven versions. 
[INFO] Scanning for projects... 
[INFO]                   
[INFO] ------------------------------------------------------------------------ 
[INFO] Building AppFuse GWT Application 1.0 
[INFO] ------------------------------------------------------------------------ 
[WARNING] The POM for com.sun.xml.bind:jaxb-impl:jar:2.1.13 is missing, no dependency information available 
[INFO] 
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ AppfuseGWT --- 
[INFO] Using 'UTF-8' encoding to copy filtered resources. 
[INFO] Copying 33 resources 
[INFO] 
[INFO] --- maven-compiler-plugin:2.5.1:compile (default-compile) @ AppfuseGWT --- 
[INFO] Nothing to compile - all classes are up to date 
[INFO] 
[INFO] --- native2ascii-maven-plugin:1.0-beta-1:native2ascii (native2ascii-utf8) @ AppfuseGWT --- 
[INFO] Includes: [ApplicationResources_zh*.properties, ApplicationResources_ko*.properties, displaytag_zh*.properties] 
[INFO] Excludes: [] 
[INFO] 
[INFO] --- exec-maven-plugin:1.2:exec (default) @ AppfuseGWT --- 
[INFO] 
[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ AppfuseGWT --- 
[INFO] Using 'UTF-8' encoding to copy filtered resources. 
[INFO] Copying 17 resources 
[INFO] Copying 9 resources 
[INFO] 
[INFO] >>> hibernate3-maven-plugin:2.2:hbm2ddl (default) @ AppfuseGWT >>> 
[INFO] 
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ AppfuseGWT --- 
[INFO] Using 'UTF-8' encoding to copy filtered resources. 
[INFO] Copying 33 resources 
[INFO] 
[INFO] <<< hibernate3-maven-plugin:2.2:hbm2ddl (default) @ AppfuseGWT <<< 
[INFO] 
[INFO] --- hibernate3-maven-plugin:2.2:hbm2ddl (default) @ AppfuseGWT --- 
[INFO] skipping hibernate3 execution 
[INFO] 
[INFO] --- maven-compiler-plugin:2.5.1:testCompile (default-testCompile) @ AppfuseGWT --- 
[INFO] Nothing to compile - all classes are up to date 
[INFO] 
[INFO] --- dbunit-maven-plugin:1.0-beta-3:operation (test-compile) @ AppfuseGWT --- 
[INFO] Skip operation: CLEAN_INSERT execution 
[INFO] 
[INFO] --- maven-surefire-plugin:2.12.4:test (default-test) @ AppfuseGWT --- 
[INFO] Tests are skipped. 
[INFO] 
[INFO] --- dbunit-maven-plugin:1.0-beta-3:operation (test) @ AppfuseGWT --- 
[INFO] Skip operation: CLEAN_INSERT execution 
[INFO] 
[INFO] --- gwt-maven-plugin:2.5.0:compile (gwtcompile) @ AppfuseGWT --- 
[INFO] uz.eopc.webapp.MainModuleDebug is up to date. GWT compilation skipped 
[INFO] 
[INFO] --- maven-war-plugin:2.3:war (default-war) @ AppfuseGWT --- 
[INFO] Packaging webapp 
[INFO] Assembling webapp [AppfuseGWT] in [D:\Projects\ebank\target\AppfuseGWT-1.0] 
[INFO] Processing war project 
[INFO] Copying webapp webResources [D:\Projects\ebank\src/main/resources/packaged] to [D:\Projects\ebank\target\AppfuseGWT-1.0] 
[INFO] Copying webapp resources [D:\Projects\ebank\src\main\webapp] 
[INFO] Webapp assembled in [279 msecs] 
[INFO] Building war: D:\Projects\ebank\target\AppfuseGWT-1.0.war 
[INFO] ------------------------------------------------------------------------ 
[INFO] BUILD SUCCESS 
[INFO] ------------------------------------------------------------------------ 
[INFO] Total time: 3.405s 
[INFO] Finished at: Mon Dec 09 10:54:04 UZT 2013 
[INFO] Final Memory: 12M/29M 
[INFO] ------------------------------------------------------------------------ 
[INFO] Maven execution finished 
이 문제를 해결하기 위해 수행해야 무엇

?

답변

2

이 문제를 해결하기위한 답을 찾았습니다. 나는 우분투 12.04를 사용했고 리눅스 시스템에서는 모든 것이 허가와 연결되어있다. 내 tomcat 디렉터리에 대한 읽기 및 쓰기 권한을 연 후에는 문제가 해결되었습니다. 우분투에서 디렉토리에 대한 읽기 및 쓰기 권한을 열려면 다음을 작성하십시오.

$ sudo chmod 777 -R folder_name/ 
+1

감사합니다. 매력으로 일했다! –

관련 문제