vscode исключение скорости кота - PullRequest
0 голосов
/ 04 мая 2020

Я развертываю серверы tomcat в vscode, и когда я запускаю серверы tomcat в моем проекте, он показывает

Caused by: org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.apache.velocity.app.VelocityEngine]: Factory method 'getEngine' threw exception; nested exception is java.lang.RuntimeException: Error configuring velocity
    at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:189)
    at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:588)
    ... 266 common frames omitted
Caused by: java.lang.RuntimeException: Error configuring velocity
    at org.springframework.security.saml.util.VelocityFactory.getEngine(VelocityFactory.java:37)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:162)
    ... 267 common frames omitted
Caused by: org.apache.velocity.exception.VelocityException: Error initializing log: Failed to initialize an instance of org.apache.velocity.runtime.log.Log4JLogChute with the current runtime configuration.
    at org.apache.velocity.runtime.RuntimeInstance.initializeLog(RuntimeInstance.java:875)
    at org.apache.velocity.runtime.RuntimeInstance.init(RuntimeInstance.java:262)
    at org.apache.velocity.app.VelocityEngine.init(VelocityEngine.java:93)
    at org.springframework.security.saml.util.VelocityFactory.getEngine(VelocityFactory.java:34)
    ... 272 common frames omitted
Caused by: org.apache.velocity.exception.VelocityException: Failed to initialize an instance of org.apache.velocity.runtime.log.Log4JLogChute with the current runtime configuration.

, где находится speed.properties и как устранить эту ошибку?

настройка системы: tomcat7 jdk 1.8.0_241 apache maven 3.1.1

thx

...