Struts2 tutorial doesn't work

前端 未结 1 1186
Happy的楠姐
Happy的楠姐 2021-01-22 13:00

I\'m learning struts2. And I try my hello world projects according to the tutorial Then I run the code in eclipse. But it doesn\'t work. The Console shows a lot of error. The fi

1条回答
  •  鱼传尺愫
    2021-01-22 13:16

    First, remove all unused S2 plugins If you're following a basic tutorial, you are almost certainly not using GXP.

    S2 plugins:

    1. May alter S2 functionality in fundamental ways, and
    2. Have their own dependencies that will cause failures if their dependencies are not met.

    Second, ensure you are deploying all required libraries. Maven (or the equivalent) was created to manage those dependencies, but for an absolute bare-bones app it's not strictly necessary.

    0 讨论(0)
提交回复
热议问题