问答详情
源自:5-4 使用普通方式创建JavaBean

Only a type can be imported. com.po.Users resolves to a package

https://img2.mukewang.com/5b557d3a00015a0514190587.jpg

https://img2.mukewang.com/5b557d3c00012e8c12540491.jpg

报了错,怎么解决哇?


提问者:慕粉3727899 2018-07-23 15:01

个回答

  • fufupower
    2018-07-24 14:28:04

    右键项目->Properties->Java Build Path->Libraries->Add External JARs 

    导入javax.servlet-api-4.0.1.jar这个包就好了