我试图使用NetBeans8.2用tomcat部署一个web项目。
Mar 03, 2020 3:53:18 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: Command line argument: -Djava.io.tmpdir=/Users/user/Documents/tools/Servers/apache-tomcat-7.0.100/temp
Mar 03, 2020 3:53:18 PM org.apache.catalina.core.AprLifecycleListener lifecycleEvent
INFO: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: [/Users/user/Library/Java/Extensions:/Library/Java/Extensions:/Network/Library/Java/Extensions:/System/Library/Java/Extensions:/usr/lib/java:.]
Mar 03, 2020 3:53:18 PM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["http-bio-8080"]
Mar 03, 2020 3:53:18 PM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 532 ms
Mar 03, 2020 3:53:18 PM org.apache.catalina.core.StandardService startInternal
INFO: Starting service [Catalina]
Mar 03, 2020 3:53:18 PM org.apache.catalina.core.StandardEngine startInternal
INFO: Starting Servlet Engine: Apache Tomcat/7.0.100
Mar 03, 2020 3:53:18 PM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory [/Users/user/Documents/tools/Servers/apache-tomcat-7.0.100/webapps/docs]
Mar 03, 2020 3:53:19 PM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deployment of web application directory [/Users/user/Documents/tools/Servers/apache-tomcat-7.0.100/webapps/docs] has finished in [274] ms
Mar 03, 2020 3:53:19 PM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory [/Users/user/Documents/tools/Servers/apache-tomcat-7.0.100/webapps/manager]
Mar 03, 2020 3:53:19 PM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deployment of web application directory [/Users/user/Documents/tools/Servers/apache-tomcat-7.0.100/webapps/manager] has finished in [67] ms
Mar 03, 2020 3:53:19 PM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory [/Users/user/Documents/tools/Servers/apache-tomcat-7.0.100/webapps/examples]
Mar 03, 2020 3:53:19 PM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deployment of web application directory [/Users/user/Documents/tools/Servers/apache-tomcat-7.0.100/webapps/examples] has finished in [188] ms
Mar 03, 2020 3:53:19 PM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory [/Users/user/Documents/tools/Servers/apache-tomcat-7.0.100/webapps/ROOT]
Mar 03, 2020 3:53:19 PM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deployment of web application directory [/Users/user/Documents/tools/Servers/apache-tomcat-7.0.100/webapps/ROOT] has finished in [38] ms
Mar 03, 2020 3:53:19 PM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory [/Users/user/Documents/tools/Servers/apache-tomcat-7.0.100/webapps/host-manager]
Mar 03, 2020 3:53:19 PM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deployment of web application directory [/Users/user/Documents/tools/Servers/apache-tomcat-7.0.100/webapps/host-manager] has finished in [46] ms
Mar 03, 2020 3:53:19 PM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["http-bio-8080"]
Mar 03, 2020 3:53:19 PM org.apache.catalina.startup.Catalina start
INFO: Server startup in 677 ms
scrybe_commons.jar:
scrybe_services.compile:
scrybe_services.jar:
deps-ear-jar:
deps-jar:
check-rest-config-props:
generate-rest-config:
library-inclusion-in-archive:
library-inclusion-in-manifest:
compile:
compile-jsps:
Starting Tomcat process...
Waiting for Tomcat...
Starting of Tomcat failed.
/Users/user/path/to/project/nbproject/build-impl.xml:1199: Deployment error: Starting of
Tomcat failed.
See the server log for details.
BUILD FAILED (total time: 3 minutes 1 second)
在我的例子中,我认为问题出在我使用的Tomcat版本上,所以更改Tomcat版本对我来说很有用。
我使用的是Tomcat 7.0.100
,我下载了Tomcat 7.0.56
并将其添加到Netbeans中,然后在清理和构建项目后,我使用Deploy
命令运行项目。
我在Ubuntu12.10上运行NetBeans7.3。我正在学习一门Java Web开发课程,所以我有一个名为jsage8的项目,其中包含了我为该课程所做的工作。以前,这个项目在Projects选项卡中显示得很好,但现在打开这个项目什么也做不到。当我在打开项目菜单中单击打开它时,它只是说“没有项目打开”。然而,它将打开一个不是基于web的项目的普通Java项目文件夹。目前项目中只有一个index
我得到错误,而建立gradle(IDE工具版本3.1.3Android)Android版本: 3.1.3 gradle版本: 4.4无法下载文件下面时gradle同步下载https://jcenter.bintray.com/com/android/tools/build/gradle/3.1.3/gradle-3.1.3.pom21秒215毫秒 下载https://dl.google.com/d
我正在使用Netbean 8.2(虽然这个问题在以前的版本中一直存在)。我可以创建一个maven项目,将以前的项目剪切并传递到该项目中,然后构建该项目并运行它,没有问题。 但是,当我关闭netbeans时,maven项目变成了java项目,我能找到的唯一修复方法是创建一个新的maven项目,并重复剪切和保存。 必须有一个更好的解决方案,如果有人有类似的问题,并解决了它,请让我知道! 非常感谢您的帮
null Spring Web请求和Quartz触发的作业混合使用了这个池。运行大约5次后,池中没有可用的连接,initialsize=5,maxactive=10。增加maxActive没有什么作用,它只是在池空之前需要更长的时间和更多的石英运行。 我到目前为止所做的: 从Apache Commons DBCP切换到Tomcat JDBC池。这起作用了。 为Tomcat JDBC池打开调试。也在
这是一个非常基本的问题,我有Centos 7,我配置了JAVA_HOME和Maven: [nodet@localhostWildFly]$mvn-版本Apache Maven 3.3.9(bb52d8502b132ec0a5a3f4c09453c07478323dc5;2015-11-10T17:41:47 01:00)Maven home:/data/Maven Java版本:1.8.0_101
问题 当我启动超过11个Spring Boot项目并行时,我无法从数据库中检索数据。我只得到空白的JSON响应。但是如果我只启动了不到11个项目,那么在那个时候,我就能够得到微服务的结果。当我从12号发球开始的时候有问题。 但这并没有解决我的问题。并且在我的中为连接池添加了其他行, 即使这样也不能解决我的问题。仍然,我只能启动最多12个Spring引导项目一次。 在pom.xml中添加了以下内容,