0

jetty problem

asked 2015-11-19 10:54:37 +0800

ostadi gravatar image ostadi
1

updated 2015-11-19 11:21:44 +0800

I create and run simple project with following link address:

books.zkoss.org/wiki/ZKInstallationGuide/QuickStart/CreateandRunYourFirstZKApplicationwithEclipseand_Maven.

But When I build... I have below error:

[ERROR] Failed to execute goal org.mortbay.jetty:jetty-maven-plugin:7.6.8.v20121106:stop (default-cli) on project asd: The parameters 'stopKey', 'stopPort' for goal org.mortbay.jetty:jetty-maven-plugin:7.6.8.v20121106:stop are missing or invalid -> [Help 1]

delete flag offensive retag edit

1 Answer

Sort by ยป oldest newest most voted
0

answered 2015-11-19 13:51:05 +0800

chillworld gravatar image chillworld flag of Belgium
5367 4 9
https://github.com/chillw...

Add the stopKey and stopPort fields in your maven plugin of jetty.

Example :

<plugin>
    <groupId>org.eclipse.jetty</groupId>
    <artifactId>jetty-maven-plugin</artifactId>
    <version>9.2.7.v20150116</version>
    <configuration>
        <jettyXml>${basedir}/src/test/resources/jetty.xml,${basedir}/src/test/resources/jetty-http.xml,${basedir}/src/test/resources/jetty-ssl.xml,${basedir}/src/test/resources/jetty-https.xml</jettyXml>
        <webApp>
            <contextPath>/${project.parent.artifactId}</contextPath>
        </webApp>
        <reload>manual</reload>                   
        <scanIntervalSeconds>0</scanIntervalSeconds>
        <stopPort>9966</stopPort>
        <stopKey>foo</stopKey>
        <systemProperties>
            ....
        </systemProperties> 
    </configuration>
    <dependencies>
        ....
    </dependencies>
</plugin>
link publish delete flag offensive edit
Your answer
Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!

[hide preview]

Question tools

Follow
1 follower

RSS

Stats

Asked: 2015-11-19 10:54:37 +0800

Seen: 96 times

Last updated: Nov 19 '15

Support Options
  • Email Support
  • Training
  • Consulting
  • Outsourcing
Learn More