myeclipse9 支持jdk1.8吗 5
myeclipse9应用tomcat7+jdk1.8。org.springframework.beans.factory.BeanCreationException:Er...
myeclipse9 应用tomcat7 + jdk 1.8。
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'vehicleInfoEnterService' defined in ServletContext resource [/WEB-INF/spring/service-vehicle.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [com.canco.vehicle.service.impl.VehicleInfoEnterSreviceImpl]: Constructor threw exception; nested exception is java.lang.Error: Unresolved compilation problems:
The type java.util.function.UnaryOperator cannot be resolved. It is indirectly referenced from required .class files
The type java.util.function.Predicate cannot be resolved. It is indirectly referenced from required .class files
The type java.util.function.Consumer cannot be resolved. It is indirectly referenced from required .class files 展开
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'vehicleInfoEnterService' defined in ServletContext resource [/WEB-INF/spring/service-vehicle.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [com.canco.vehicle.service.impl.VehicleInfoEnterSreviceImpl]: Constructor threw exception; nested exception is java.lang.Error: Unresolved compilation problems:
The type java.util.function.UnaryOperator cannot be resolved. It is indirectly referenced from required .class files
The type java.util.function.Predicate cannot be resolved. It is indirectly referenced from required .class files
The type java.util.function.Consumer cannot be resolved. It is indirectly referenced from required .class files 展开
展开全部
这个的是可以的 啊
更多追问追答
追问
我就用的myeclipse9 + tomcat7 + jdk 1.8。
但是报错。启动项目工程就报错。
The type java.util.function.UnaryOperator cannot be resolved. It is indirectly referenced from required .class files
追答
解决的办法是:右击工程目录下的jdk 选择 build path---->config build path 或者在eclipse菜单栏点击project----->propertys 在里面再选择Java Build Path -----> Libraries---->Add Libraries----->JRE System Library
这个的话是你的JDK太多了 采纳吧
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询