Error: trouble processing "java/lang/AutoCloseable.class"
Asked Answered
C

1

0

When I compile my project, I am getting this error:

trouble processing java/lang/AutoCloseable.class

Please help me sort this out.

Curule answered 8/5, 2017 at 8:10 Comment(5)
Have you tried Invalid Cache and Restart ? Ek var try kari jo @Khyati ChitrodaCaparison
yes, but still getting same.Curule
Any other error details? Because as i know it is related with Java 7Caparison
Error:trouble processing "java/lang/AutoCloseable.class": Error:Ill-advised or mistaken usage of a core class (java.* or javax.*) Error:when not building a core library. Error:This is often due to inadvertently including a core library file Error:in your application's project, when using an IDE (such as Error:Eclipse). If you are sure you're not intentionally defining a Error:core class, then this is the most likely explanation of what's Error:going on. Error:However, you might actually be trying to define a class in a core Error:namespace, the source of which you may have takenCurule
Have you updated JDK version ? After updating use Invalid Cache and RestartCaparison
O
2

Try doing Invalidate cache and restart. This should fix if it is only a build issue.

enter image description here

Opaque answered 8/5, 2017 at 8:27 Comment(4)
I have tried same as you explain but getting same error.Curule
try building some other project and see if that if building.Opaque
Other project builds properly, I am getting error in only one project, Sorry Shashank for late reply.Curule
then it doesn't look like a jdk error.. It has to be some library dependency in your projectOpaque

© 2022 - 2024 — McMap. All rights reserved.