TravaOpenJDK / trava-jdk-11-dcevm

dcevm-11 built on Travis
Apache License 2.0
403 stars 57 forks source link

HotSwapAgent: failed to convert filePath #14

Closed tholu closed 5 years ago

tholu commented 5 years ago

I'm getting the following errors when using TravaJDK with my Maven project with the jetty-maven-plugin:

HOTSWAP AGENT: 15:35:47.415 ERROR (org.hotswap.agent.plugin.spring.scanner.XmlBeanDefinationScannerAgent) - failed to convert filePath /{project}/target/www/WEB-INF/app-security.xml to classPath path
HOTSWAP AGENT: 15:36:01.538 ERROR (org.hotswap.agent.plugin.spring.scanner.XmlBeanDefinationScannerAgent) - failed to convert filePath /{project}/target/www/WEB-INF/mvc-config.xml to classPath path
HOTSWAP AGENT: 15:36:01.745 ERROR (org.hotswap.agent.plugin.spring.scanner.XmlBeanDefinationScannerAgent) - failed to convert filePath /{project}/target/www/WEB-INF/app-servlet.xml to classPath path

I tried using a hotswap-agent.properties in src/main/resources to configure the Hotswap Agent, but it does not seem to be picked up. Any ideas how to fix/debug this?

skybber commented 5 years ago

It's is HotswapAgent issue, please create one there.

tholu commented 5 years ago

Is it? Maybe it's a configuration issue, any advice how to configure the HotswapAgent with TravaJDK? Or don't you do that at all?

skybber commented 5 years ago

Look at HA issues, there is some similar one.