【java-本地Tomcat环境无法启动】教程文章相关的互联网学习教程文章

java-将过滤器添加到web.xml后,一个或多个过滤器无法启动【代码】

抱歉,这有点琐碎,但是我对此很陌生. 这是我的pom依赖项: 所有这些都是这样,但如果我取消注释< filter&gt ;,在web.xml中,我得到了One or more Filters failed to start.错误.我尝试使用Google搜索,但没有成功.我正在使用Tomcat8.我不知道该问题还有什么要说的,因为我想弄清楚自己的问题.我从this链接(使用XML配置)开始关注本教程.我尝试了不同的spring和spring安全版本,但是每次战争“爆发”时都会发出上述错误(当然,应用程序无法访...

Tomcat无法启动> java.lang.ClassNotFoundException:org.apache.catalina.startup.Catalina【代码】

由于stderr.log中出现以下错误消息,我无法启动tomcat 5.5服务器.有人可以帮助我,这是一种紧急情况.提前致谢.java.lang.ClassNotFoundException: org.apache.catalina.startup.Catalina at java.net.URLClassLoader$1.run(URLClassLoader.java:200) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:188) at java.lang.ClassLoader.loadClass...

java-使用IEDriverServer 3.9.0.0运行硒时无法启动IE 11【代码】

运行硒测试时,我在启动IE 11时遇到问题.这是我用来设置浏览器的代码if (browser.equalsIgnoreCase("ie")) {System.setProperty("webdriver.ie.driver", "IEDriverServer.exe");driver = new InternetExplorerDriver();} else {throw new Exception("Browser is not correct");}driver.manage().timeouts().implicitlyWait(10, TimeUnit.SECONDS);driver.get("https://www.google.com/");Dimension dimension = new Dimension(800,...

java-Tomcat:失败-上下文路径/ employee中的应用程序无法启动【代码】

我是Spring MVC的新手.尝试使用安全性登录名构建项目,但无法在tomcat中启动.war.FAIL – Application at context path /employee could not be started我检查了天秤座的重复,例如我们log4j和slf4j 请帮助我了解原因,在此先感谢.<?xml version="1.0" encoding="UTF-8"?> <web-app id="WebApp_ID" version="2.4"xmlns="http://java.sun.com/xml/ns/j2ee"xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"xsi:schemaLocation="h...

java-本地Tomcat环境无法启动【代码】

我正在尝试运行本地Tomcat环境,并且始终遇到以下错误:Can't load log handler "2localhost.org.apache.juli.FileHandler" java.lang.ClassNotFoundException: 2localhost.org.apache.juli.FileHandler java.lang.ClassNotFoundException: 2localhost.org.apache.juli.FileHandlerat java.net.URLClassLoader$1.run(Unknown Source)at java.security.AccessController.doPrivileged(Native Method)at java.net.URLClassLoader.find...

java-Spring框架无法启动嵌入式容器【代码】

我遵循的是《 Spring in Action 4th Edition》第5章,但我只停留在第一个示例上. 这是我的Eclipse Luna项目结构: 如果我将这个项目作为Spring Boot App运行,则会引发异常:org.springframework.context.ApplicationContextException: Unable to start embedded container; nested exception is org.springframework.context.ApplicationContextException: Unable to start EmbeddedWebApplicationContext due to missing EmbeddedS...

java – 无法启动组件[StandardEngine [Catalina] .StandardHost [localhost]【代码】

当尝试启动tomcat时,我收到此错误.可能是什么原因造成的? 我经历了很多类似的帖子,但我找不到任何东西. 我正在使用Apache Tomcat v8.0和JRE 1.8.0java.util.concurrent.ExecutionException: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/ocmsLatest]]at java.util.concurrent.FutureTask.report(Unknown Source)at java.util.concurr...

java – 由于Bean Validation API而无法启动Hibernate Validator【代码】

我正在尝试在我的项目中使用Hibernate Validator,但它无法正常工作.在以下行:SessionFactory sessions = config.buildSessionFactory(builder.build());我得到以下异常:org.hibernate.cfg.beanvalidation.IntegrationException: Error activating Bean Validation integrationat org.hibernate.cfg.beanvalidation.BeanValidationIntegrator.integrate(BeanValidationIntegrator.java:154)at org.hibernate.internal.SessionFact...

java – Spring启动测试失败说,由于缺少ServletWebServerFactory bean,无法启动ServletWebServerApplicationContext【代码】

测试类: – @RunWith(SpringRunner.class) @SpringBootTest(classes = { WebsocketSourceConfiguration.class,WebSocketSourceIntegrationTests.class }, webEnvironment = SpringBootTest.WebEnvironment.RANDOM_PORT, properties = {"websocket.path=/some_websocket_path", "websocket.allowedOrigins=*","spring.cloud.stream.default-binder=kafka" }) public class WebSocketSourceIntegrationTests {private String port =...

java – 无法启动服务? (语音识别)【代码】

我想在服务中不断地使用pocketsphinx来听取hello这个词 我收到了错误.这是full stack trace.这是它的一小部分.Unable to create service curlybrace.ruchir.myApp.MyService: java.lang.RuntimeException: new_Decoder returned -1这是由于:setupRecognizer(assetDir); //SETUP和这个:.getRecognizer();在我的onCreate中:Log.v(TAG, "Voice recognition activated!");//Register voice recog listener :)Assets assets = null;t...

java – Spring Tool Suite无法启动错误【代码】

我使用的是Spring工具套件,我刚刚将它升级到最新版本spring-tool-suite-3.5.1.RELEASE-e4.3.2-linux-gtk-x86_64,现在我无法启动它.它给出了以下错误:VM terminated. Exit code=1 /usr/bin/java -Dosgi.requiredJavaVersion=1.6 -Xms40m -Xmx768m -XX:MaxPermSize=256m -jar /home/vishal/install/sts/sts-3.5.1.RELEASE//plugins/org.eclipse.equinox.launcher_1.3.0.v20130327-1440.jar -os linux -ws gtk -arch x86_64 -showspl...

java – 无法部署WAR文件.无法启动组件[]【代码】

我目前在将一个WAR文件部署到我的Tomcat7服务器时遇到了问题(我是带有java的web dev新手).在Eclipse中一切都很好但是当我生成一个WAR文件并将其部署到服务器时,我得到以下错误. “无法启动组件[]”下面是日志转储.Caused by: org.apache.catalina.LifecycleException: Failed to process either the global, per-host or context-specific context.xml file therefore the [] Context cannot be started.at org.apache.catalina.st...

java – spring-boot应用程序无法启动【代码】

我最近开始使用spring-boot开发一个web应用程序,anf,按照官方网站上的指南,设法创建这两个文件: 的pom.xml<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"><modelVersion>4.0.0</modelVersion><groupId>spring</groupId><artifactId>app</artifactId><version>0...

java – 安装JDK 9后无法启动Spring Tool Suite

参见英文答案 > Why won’t eclipse oxygen start (for the first time)? 3个> Neon: how to run on jdk9? 9个我安装了Spring Tool Suite(版本3.9.0).它以前工作得很好.安装JDK 9后,我无法启动Spring Tool Suite. 我可以在错误日志中看到以下内容:java.lang.NoClassDefFoundError: javax/annotation/PreDestroy atorg.eclipse.e4.core.intern...

java – apache procrun无法启动服务【代码】

编辑 我正在使用loaderDeamon接口来安装和运行java应用程序作为Windows服务.为此,Apache的procrun服务工具(与tomcat一起安装的相同的东西)处理服务的安装和执行. 最近,当通过服务管理器执行服务时,服务声称正在运行,但没有响应.没有写入日志,并且应用程序的客户端无法进行通信.这让我觉得服务实际上并没有运行. 我试图通过// TS命令通过procrun启动服务,如下所示:http://commons.apache.org/daemon/procrun.html,即使我们等待24小...