javac error: Class names are only accepted if annotation processing is explicitly requested

后端 未结 12 830
余生分开走
余生分开走 2020-11-27 04:37

I get this error when I compile my java program:

error: Class names, \'EnumDevices\', are only accepted if annotation 
processing is explicitly requested
1          


        
12条回答
  •  夕颜
    夕颜 (楼主)
    2020-11-27 05:21

    Perhaps you may be compiling with file name instead of method name....Check once I too made the same mistake but I corrected it quickly .....#happy Coding

提交回复
热议问题