작성
·
693
0
윈도우환경에서 pom.xml에 똑같은 의존성 추가하고 패키지 경로도 맞춰서 작성했습니다.
maven-jar-plugin
artifactId에 위내용을 넣었는데도, 콘솔창에서는
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by com.thoughtworks.xstream.core.util.Fields (file:/C:/Users/사용자명/.m2/repository/com/thoughtworks/xstream/xstream/1.3.1/xstream-1.3.1.jar) to field java.util.Properties.defaults
WARNING: Please consider reporting this to the maintainers of com.thoughtworks.xstream.core.util.Fields
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
빨간 Warning 메시지와 함께,
maven-war-plugin:2.2:war (default-war) @ MasulsaAgent가 실행되고
snapshot이 .war확장자로 생성되네요 ㅠㅠ
이걸로 ,VM옵션주면 class로드할 수 없다고 뜨네요.
답변 2
1
0