Spring 4.3 및 JRebel을 사용하여 tomcat8에서 Java 앱을 배포 할 때 예외

베이스

사용 ...

  • JREBEL 7.0.1. 릴리스
  • 톰캣 8.0.29
  • JDK 1.8.0_65
  • Eclipse NEON

최근에 Spring 4.2에서 4.3.4로 업그레이드 했습니다 .RELEASE

jrebel이 활성화 된 상태에서 Eclipse에서 Tomcat 서버를 배포 (실행 또는 디버그)하려고하면 다음 오류가 나타납니다.

2016-12-19 12:10:43 JRebel: ERROR Class 'org.springframework.core.io.support.PathMatchingResourcePatternResolver' could not be processed by org.zeroturnaround.javarebel.integration.spring.core.cbp.PathMatchingResourcePatternResolverCBP@org.apache.catalina.loader.WebappClassLoader@28cb48ca: org.zeroturnaround.bundled.javassist.CannotCompileException: [source error] getURL() not found in java.net.URL
at org.zeroturnaround.bundled.javassist.expr.MethodCall.replace(SourceFile:241)
at org.zeroturnaround.javarebel.integration.spring.core.cbp.PathMatchingResourcePatternResolverCBP$1.edit(PathMatchingResourcePatternResolverCBP.java:69)
at org.zeroturnaround.bundled.javassist.expr.ExprEditor.loopBody(SourceFile:192)
at org.zeroturnaround.bundled.javassist.expr.ExprEditor.doit(SourceFile:91)
at org.zeroturnaround.bundled.javassist.CtBehavior.instrument(SourceFile:712)
at org.zeroturnaround.javarebel.integration.spring.core.cbp.PathMatchingResourcePatternResolverCBP.processClassPathScanning(PathMatchingResourcePatternResolverCBP.java:60)
at org.zeroturnaround.javarebel.integration.spring.core.cbp.PathMatchingResourcePatternResolverCBP.process(PathMatchingResourcePatternResolverCBP.java:38)
at org.zeroturnaround.javarebel.integration.support.JavassistClassBytecodeProcessor.process(SourceFile:71)
at com.zeroturnaround.javarebel.ic.a(SourceFile:344)
at com.zeroturnaround.javarebel.ic.a(SourceFile:333)
at com.zeroturnaround.javarebel.ic.a(SourceFile:311)
at com.zeroturnaround.javarebel.SDKIntegrationImpl.runBytecodeProcessors(SourceFile:31)
at com.zeroturnaround.javarebel.hh.transform(SourceFile:88)
at java.lang.ClassLoader.defineClass(ClassLoader.java)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
at org.apache.catalina.loader.WebappClassLoaderBase.findClassInternal(WebappClassLoaderBase.java:2494)
at org.apache.catalina.loader.WebappClassLoaderBase.findClass(WebappClassLoaderBase.java:860)
at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1302)
at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1167)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:348)
at com.zeroturnaround.javarebel.hm.a(SourceFile:91)
at com.zeroturnaround.javarebel.hm.a(SourceFile:257)
at com.zeroturnaround.javarebel.hh.transform(SourceFile:104)
at java.lang.ClassLoader.defineClass(ClassLoader.java)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
at org.apache.catalina.loader.WebappClassLoaderBase.findClassInternal(WebappClassLoaderBase.java:2494)
at org.apache.catalina.loader.WebappClassLoaderBase.findClass(WebappClassLoaderBase.java:860)
at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1302)
at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1167)
at org.springframework.web.context.support.AbstractRefreshableWebApplicationContext.getResourcePatternResolver(AbstractRefreshableWebApplicationContext.java:183)
at org.springframework.context.support.AbstractApplicationContext.<init>(AbstractApplicationContext.java:217)
at org.springframework.context.support.AbstractRefreshableApplicationContext.<init>(AbstractRefreshableApplicationContext.java:80)
at org.springframework.context.support.AbstractRefreshableConfigApplicationContext.<init>(AbstractRefreshableConfigApplicationContext.java:50)
at org.springframework.web.context.support.AbstractRefreshableWebApplicationContext.<init>(AbstractRefreshableWebApplicationContext.java:95)
at org.springframework.web.context.support.AnnotationConfigWebApplicationContext.<init>(AnnotationConfigWebApplicationContext.java:82)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:422)
at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:142)
at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:102)
at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:380)
at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:313)
at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:107)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4793)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5236)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1408)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1398)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
Caused by: compile error: getURL() not found in java.net.URL
at org.zeroturnaround.bundled.javassist.compiler.TypeChecker.atMethodCallCore(SourceFile:749)
at org.zeroturnaround.bundled.javassist.compiler.TypeChecker.atCallExpr(SourceFile:695)
at org.zeroturnaround.bundled.javassist.compiler.JvstTypeChecker.atCallExpr(SourceFile:157)
at org.zeroturnaround.bundled.javassist.compiler.ast.CallExpr.accept(SourceFile:46)
at org.zeroturnaround.bundled.javassist.compiler.CodeGen.doTypeCheck(SourceFile:242)
at org.zeroturnaround.bundled.javassist.compiler.CodeGen.atDeclarator(SourceFile:743)
at org.zeroturnaround.bundled.javassist.compiler.ast.Declarator.accept(SourceFile:100)
at org.zeroturnaround.bundled.javassist.compiler.CodeGen.atStmnt(SourceFile:351)
at org.zeroturnaround.bundled.javassist.compiler.ast.Stmnt.accept(SourceFile:50)
at org.zeroturnaround.bundled.javassist.compiler.Javac.compileStmnt(SourceFile:569)
at org.zeroturnaround.bundled.javassist.expr.MethodCall.replace(SourceFile:235)
... 53 more

같은 문제가있는 사람이 있습니까?

앙리 비익

7.0.1 버전의 JRebel 에이전트를 사용하고 있습니까? stacktrace에 따르면 6.2.5 또는 이전 버전 인 것으로 보이며 특정 버그는 6.4.4에서 수정되어야합니다. 서버 시작시 JRebel 배너에 표시되는 버전 번호를 확인하십시오. Eclipse가 현재 이전 외부 에이전트를 사용하도록 구성되어있을 수 있습니다. 도움말> JRebel> 구성> 고급으로 이동하여 JRebel Eclipse 플러그인과 함께 번들로 제공되는 에이전트를 선택하십시오.

이 기사는 인터넷에서 수집됩니다. 재 인쇄 할 때 출처를 알려주십시오.

침해가 발생한 경우 연락 주시기 바랍니다[email protected] 삭제

에서 수정
0

몇 마디 만하겠습니다

0리뷰
로그인참여 후 검토

관련 기사

분류에서Dev

dictconfig를 사용하여 python3 로깅 설정에서 예외를 로깅 할 때 오류 메시지 및 스택을 어떻게 포맷합니까?

분류에서Dev

MongoDB를 사용하여 SpringBoot 웹앱을 Tomcat에 배포 할 때 오류 발생

분류에서Dev

riemann을 사용하여 파일에 쓰려고 할 때 널 포인터 예외

분류에서Dev

메서드에서 (java.util.Random)을 사용하려고 할 때 Null 포인터 예외-초급 Java

분류에서Dev

4.0 장치에서 앱을 사용할 때 오류 Json 예외

분류에서Dev

Java에서 HashMap 값을 반환하려고 할 때 Null 포인터 예외

분류에서Dev

내 Tomcat 서버에서 liferay 포틀릿을 실행하려고 할 때 예외

분류에서Dev

Apache2 및 Passenger를 사용하여 Rails 앱을 배포 할 때 404 찾을 수 없음 오류

분류에서Dev

Spring을 사용하는이 애플리케이션을 TomCat에서 배포하고 실행하려고 할 때이 예외가 발생하는 이유는 무엇입니까?

분류에서Dev

공유 환경 설정을 사용하여 onCreate에서 textView를 검색 할 때 널 포인터 예외

분류에서Dev

Spring Boot 앱을 Heroku에 배포 할 때 SQLSyntaxErrorException 발생

분류에서Dev

Android 용 JRebel을 사용하여 즉석에서 Nativescript 배포

분류에서Dev

ToEventPattern 및 Timeout을 사용할 때 RX.Net에서 예외 처리

분류에서Dev

docker를 사용하여 heroku에 django 앱을 배포 할 때 collectstatic을 어디에서 실행합니까?

분류에서Dev

Tomcat이 Eclipse, JRebel 및 Spring Boot 사용을 시작하지 못함

분류에서Dev

git push를 사용하여 heroku에 django 앱을 배포 할 때 인식 할 수없는 오류

분류에서Dev

Rails 4, Capistrano 3 및 Dotenv-서버 측 .env 파일을 사용하여 배포하는 방법

분류에서Dev

전자 앱에서 worker_thread를 사용할 때 Command + Q를 사용하여 앱을 종료 한 후 예외가 발생합니다.

분류에서Dev

Android에서 레이아웃 확장을 사용할 때 Null 포인터 예외

분류에서Dev

동일한 PC에서 Java 소켓을 사용하여 파일을 전송할 때 "BindException : 이미 사용중인 주소"예외

분류에서Dev

Kudu 빌드 서비스를 사용하여 asp.net 핵심 앱을 배포 할 때 UnauthorizedAccessException 발생

분류에서Dev

CentOS 6에서 Puppet을 사용하여 모듈을 배포 할 때 Ruby 오류

분류에서Dev

Ninject를 사용하여 Azure에 웹 API 2 앱을 배포 할 때 오류 발생

분류에서Dev

java 구성을 사용하는 spring mvc 4 webapplication의 웹 서버 (wildfly)에서 실행할 때 jpa 명명 및 기준 쿼리가 실패합니다.

분류에서Dev

celery 및 websocket을 사용하여 Azure 앱 서비스에 Python Django 앱 배포

분류에서Dev

java11을 사용하여 Google App Engine에 단일 jar를 배포 할 때 빌드 시도 방지

분류에서Dev

사용자 예외를 추가하려고 할 때 : 서버가 요청을 처리하지 않습니다. 및 setPassword 예외 : 호출 대상에 의해 발생

분류에서Dev

java-서비스 계정을 사용하여 GAE 앱 배포

분류에서Dev

라디오 버튼을 사용할 때 널 포인터 예외

Related 관련 기사

  1. 1

    dictconfig를 사용하여 python3 로깅 설정에서 예외를 로깅 할 때 오류 메시지 및 스택을 어떻게 포맷합니까?

  2. 2

    MongoDB를 사용하여 SpringBoot 웹앱을 Tomcat에 배포 할 때 오류 발생

  3. 3

    riemann을 사용하여 파일에 쓰려고 할 때 널 포인터 예외

  4. 4

    메서드에서 (java.util.Random)을 사용하려고 할 때 Null 포인터 예외-초급 Java

  5. 5

    4.0 장치에서 앱을 사용할 때 오류 Json 예외

  6. 6

    Java에서 HashMap 값을 반환하려고 할 때 Null 포인터 예외

  7. 7

    내 Tomcat 서버에서 liferay 포틀릿을 실행하려고 할 때 예외

  8. 8

    Apache2 및 Passenger를 사용하여 Rails 앱을 배포 할 때 404 찾을 수 없음 오류

  9. 9

    Spring을 사용하는이 애플리케이션을 TomCat에서 배포하고 실행하려고 할 때이 예외가 발생하는 이유는 무엇입니까?

  10. 10

    공유 환경 설정을 사용하여 onCreate에서 textView를 검색 할 때 널 포인터 예외

  11. 11

    Spring Boot 앱을 Heroku에 배포 할 때 SQLSyntaxErrorException 발생

  12. 12

    Android 용 JRebel을 사용하여 즉석에서 Nativescript 배포

  13. 13

    ToEventPattern 및 Timeout을 사용할 때 RX.Net에서 예외 처리

  14. 14

    docker를 사용하여 heroku에 django 앱을 배포 할 때 collectstatic을 어디에서 실행합니까?

  15. 15

    Tomcat이 Eclipse, JRebel 및 Spring Boot 사용을 시작하지 못함

  16. 16

    git push를 사용하여 heroku에 django 앱을 배포 할 때 인식 할 수없는 오류

  17. 17

    Rails 4, Capistrano 3 및 Dotenv-서버 측 .env 파일을 사용하여 배포하는 방법

  18. 18

    전자 앱에서 worker_thread를 사용할 때 Command + Q를 사용하여 앱을 종료 한 후 예외가 발생합니다.

  19. 19

    Android에서 레이아웃 확장을 사용할 때 Null 포인터 예외

  20. 20

    동일한 PC에서 Java 소켓을 사용하여 파일을 전송할 때 "BindException : 이미 사용중인 주소"예외

  21. 21

    Kudu 빌드 서비스를 사용하여 asp.net 핵심 앱을 배포 할 때 UnauthorizedAccessException 발생

  22. 22

    CentOS 6에서 Puppet을 사용하여 모듈을 배포 할 때 Ruby 오류

  23. 23

    Ninject를 사용하여 Azure에 웹 API 2 앱을 배포 할 때 오류 발생

  24. 24

    java 구성을 사용하는 spring mvc 4 webapplication의 웹 서버 (wildfly)에서 실행할 때 jpa 명명 및 기준 쿼리가 실패합니다.

  25. 25

    celery 및 websocket을 사용하여 Azure 앱 서비스에 Python Django 앱 배포

  26. 26

    java11을 사용하여 Google App Engine에 단일 jar를 배포 할 때 빌드 시도 방지

  27. 27

    사용자 예외를 추가하려고 할 때 : 서버가 요청을 처리하지 않습니다. 및 setPassword 예외 : 호출 대상에 의해 발생

  28. 28

    java-서비스 계정을 사용하여 GAE 앱 배포

  29. 29

    라디오 버튼을 사용할 때 널 포인터 예외

뜨겁다태그

보관