我试图执行我的Java程序作为使用WinRun4J的Windows服务。这项服务是正确创建并运行,直到它停止,因为一个ClassNotFoundException的: org.springframework.beans.factory.parsing.BeanDefinitionParsingException: Configuration problem: Failed to import be
我想使用WinRun4J作为Windows服务运行Spring Boot应用程序。它不起作用,因为WinRun4J无法找到主类。我注意到这是因为spring-boot-maven-plugin在BOOT-INF文件夹中收集源代码,并且无法访问那里的类。这是错误跟踪: [info] Registering natives for Native class
[info] Registering na