2013-12-09 14 views
6

Sto sviluppando un'applicazione utilizzando GWT, Maven su Apache Tomcat 7 con intelliJ idea. recentemente ho debug ed eseguire la mia domanda ma di fronte il seguente problema: Error running Tomcat 7: HTTP Connector node not found: set up one in the server.xml.nodo Connettore Apache Tomcat 7 HTTP non trovato in intelliJ

Apache Tomcat eseguire il codice:

"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 

Che cosa dovrebbe essere fatto per risolvere questo problema?

risposta

2

Ho trovato la risposta per risolvere questo problema. Stavo usando Ubuntu 12.04 e nei sistemi Linux tutto è connesso con le autorizzazioni. Dopo aver aperto il permesso di lettura e scrittura sulla mia directory tomcat, ha funzionato. per aprire il permesso di lettura e scrittura in una directory in ubuntu basta scrivere:

$ sudo chmod 777 -R folder_name/ 
+1

Grazie. ha funzionato come un fascino! –

Problemi correlati