天天看点

IDEA运行web工程报错,Error running wis-client-web: SSL HTTP Connector node not found: set up one in the ser

问题:

  IDEA配置tomcat后运行时报如下错误:

  Error running wis-client-web: SSL HTTP Connector node not found: set up one in the server.xml

分析:

  如提示,tomcat的server.xml文件中没有配置https/SSL的连接器

解决方法:

  找到tomcat的配置文件D:\tomcat-7.0.69\conf\server.xml,添加一个SSL的配置,然后再运行web工程就OK了

在TOMCAT_HOME\conf\server.xml文件里进行修改

<Connector port="8443" protocol="org.apache.coyote.http11.Http11Protocol"  
           maxThreads="150" SSLEnabled="true" scheme="https" secure="true"  
           clientAuth="false" sslProtocol="TLS"   
  keystoreFile="E:\qf\work\software\apache-tomcat-7.0.68\ssl\tomcat.keystore"    
           keystorePass="tomcat"    
           ciphers="TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256,   
TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA,  
TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384,  
TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA,  
TLS_ECDHE_RSA_WITH_RC4_128_SHA,  
TLS_RSA_WITH_AES_128_CBC_SHA256,  
TLS_RSA_WITH_AES_128_CBC_SHA,  
TLS_RSA_WITH_AES_256_CBC_SHA256,  
TLS_RSA_WITH_AES_256_CBC_SHA,  
SSL_RSA_WITH_RC4_128_SHA"/>