我正在尝试学习servlet。 Servlet在默认包中创建时工作正常,但在定义包时会出错。
以下是错误:
Multiple markers at this line
- The type java.io.ObjectInputStream cannot be resolved. It is indirectly referenced from
required .class files
- The type java.io.ObjectInputStream cannot be resolved. It is indirectly referenced from
required .class files
错误在这一行:
package pack;
我正在使用Eclipse Indigo IDE。 我已经尝试删除并再次添加罐子,但它仍然给出相同的错误。请提出解决方案。 谢谢。