zoukankan      html  css  js  c++  java
  • Eclipse Maven to create Struts2 Project

    Follow the guide in this page:

    http://blog.csdn.net/topwqp/article/details/8882965

    problem met :

    • Description Resource Path Location TypeThe superclass "javax.servlet.http.HttpServlet" was not found on the Java Build Path index.jsp /Sample_Struts/src/main/webapp line 1 JSP Problem

    Solution: right click the project->Properties->Targeted Runtimes-> Select the TOMCAT and click the Ok Button

    • Missing src/main/java source folder:

     Solution: Right click the project->Properties->Java Build Path-> Source Tab  click the red error mssing entry like  Projectname/src/main/java (missing)

    Click the "Add Folder'  Check the "src" checkbox .

    • ClassNotFound error for lib folder not contain the libraries.

    Solution: right click the project ->properties->Deployment Assembly-> Add the maven folder for project (Click Add button ->Java Build Path Entries->Next->Maven Dependencies

  • 相关阅读:
    luogu P3174 毛毛虫
    P3386二分图最大匹配模版
    P4180 严格次小生成树
    差分约束
    高斯消元
    P1306 斐波那契公约数
    极值
    排序
    P1852 [国家集训队]跳跳棋
    高精度模版
  • 原文地址:https://www.cnblogs.com/seniortestingdev/p/4461385.html
Copyright © 2011-2022 走看看