2013-12-09 9 views
6

私はGWTを使用してアプリケーションを開発しています.MavenはApache Tomcat 7でintelliJのアイデアを持っています。私は最近、デバッグ、私のアプリケーションを実行しますが、次のような問題に直面している:Error running Tomcat 7: HTTP Connector node not found: set up one in the server.xml.Apache Tomcat 7 HTTPコネクタノードがintelliJに見つかりません

Apache Tomcatの実行コード:

"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

私はこの問題を解決するための答えを見つけました。私はubuntu 12.04を使っていましたが、Linuxシステムではすべてがパーミッションと関連しています。私はtomcatディレクトリへの読み書き権限を開いた後、うまくいきました。 ubuntuのディレクトリへの読み書き権限を開くには、次のように書いてください。

$ sudo chmod 777 -R folder_name/ 
+1

ありがとう。魅力として働いた! –

関連する問題