软件包 javax.servlet.http 不存在

来源:互联网 发布:销售数据统计 编辑:程序博客网 时间:2024/05/16 14:31

指定编码 为 utf-8 或者 在 pom里写

      <plugin>
        <artifactId>maven-compiler-plugin</artifactId>
        <version>2.3.2</version>
        <configuration>
          <source>1.8</source>
          <target>1.8</target>
          <encoding>UTF-8</encoding>
        </configuration>
      </plugin>


另外重新指定bulidpath,tomact.

重新 maven 清理 project clean .

ok



其实只用 maven update project..

0 0
原创粉丝点击