编译版本是jdk1.8却报jdk版本过低错误
@WebService(endpointInterface="com.channel.service.DealConsoleWithServiceMix",serviceName="DealConsoleWithServiceMix")
这行代码报错:
Exception in thread "main" java.lang.Error: Unresolved compilation problems:
Syntax error, annotations are only available if source level is 1.5 or greater
Syntax error, annotations are only available if source level is 1.5 or greater
Syntax error, parameterized types are only available if source level is 1.5 or greater
Syntax error, parameterized types are only available if source level is 1.5 or greater
Type mismatch: cannot convert from long to Object
Syntax error, parameterized types are only available if source level is 1.5 or greater
Syntax error, parameterized types are only available if source level is 1.5 or greater
Syntax error, annotations are only available if source level is 1.5 or greater
Syntax error, parameterized types are only available if source level is 1.5 or greater
Syntax error, annotations are only available if source level is 1.5 or greater
Syntax error, parameterized types are only available if source level is 1.5 or greater
at com.channel.service.imp.DealConsoleWithServiceMixImp.<init>(DealConsoleWithServiceMixImp.java:45)
at com.channel.service.imp.WebServiceApp.main(WebServiceApp.java:20)