Missing Maven Plugin Jetty

前端 未结 7 2271
小鲜肉
小鲜肉 2021-02-19 04:15

I am having trouble folowing this http://hrycan.com/2012/03/28/primefaces-lazy-loading-datatable-for-jsf2/

It says I should just run

mvn jetty:run
         


        
7条回答
  •  时光说笑
    2021-02-19 04:46

    I had this problem too. I started jetty:run from within Eclipse using a "Maven Build" run configuration.

    The problem was, within my Maven Build run configuration, the "base directory" (i.e. the working directory used by the mvn executable) was set incorrectly. Setting the base directory to the directory containing the pom.xml fixed the problem.

提交回复
热议问题