首页 > 代码库 > The import java.util cannot be resolved The import javax.servlet cannot be resolved

The import java.util cannot be resolved The import javax.servlet cannot be resolved

The import java.util cannot be resolved The import javax.servlet cannot be resolved

The import java.util cannot be resolved

原因:这是由于你的项目buildpath不对

解决方案:右键项目-------buildpath--------最下面那个configuration 的选择libraries找到JRE,选中remove掉重新为该项目选择一个JRE选中项目,project----clean

一个小问题,记之

 

The import java.util cannot be resolved The import javax.servlet cannot be resolved