小编Aro*_*nte的帖子

信息:没有在类路径上检测到Spring WebApplicationInitializer类型

当我从eclipse部署时,我有一个在我的tomcat7服务器上正常运行的spring项目:Run As >> Run on server.在eclipse选项卡"Servers"中,我看到:

Servers
 Tomcat v7.0 Server at localhost [Started, Synchronized]
   my_project [Synchronized]
     spring-web-3.2.4-RELEASE.jar
Run Code Online (Sandbox Code Playgroud)

我的项目:

  • 不使用web.xml,我使用javaconf @ annotations.
  • 不使用maven,我使用用户库

我看到该项目在:

/srv/applications/workspace/.metadata/.plugins/org.eclipse.wst.server.core/tmp0
Run Code Online (Sandbox Code Playgroud)

而且,我还看到了文件夹:conf,logs,temp,webapps,work,wtpwebapps

我确认当我从eclipse部署时,我的tomcat7服务器上的所有运行正常!

在eclipse控制台中,我得到:

Apr 08, 2014 3:26:59 PM org.apache.tomcat.util.digester.SetPropertiesRule begin
WARNING: [SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting property 'source' to 'org.eclipse.jst.j2ee.server:my_project' did not find a matching property.
Apr 08, 2014 3:27:00 PM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["http-bio-8888"]
Apr 08, 2014 3:27:00 PM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["http-bio-8843"]
Apr 08, 2014 3:27:01 PM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in …
Run Code Online (Sandbox Code Playgroud)

java spring spring-mvc tomcat7

32
推荐指数
3
解决办法
13万
查看次数

终端上的镀铬无头绕过认证

我想在我的 Ubuntu 16.04.1 LTS pc 上使用 --headless 选项运行 chrome,我使用 https 协议。这是命令:

$ /usr/bin/google-chrome-stable --allow-running-insecure-content --ignore-certificate-errors --disable-gpu --headless https://<APP_IP>
Run Code Online (Sandbox Code Playgroud)

这是回应:

[0718/105254.243715:ERROR:cert_verify_proc_nss.cc(923)] CERT_PKIXVerifyCert for <APP_IP> failed err=-8172
Run Code Online (Sandbox Code Playgroud)

信息:我使用谷歌浏览器 59.0.3071.115

你能给我一些绕过证书错误的建议吗?

提前谢谢

google-chrome headless-browser google-chrome-headless

5
推荐指数
1
解决办法
2677
查看次数