You need to cd into the webapp directory ; did you?
On 13 Jul 2016 6:42 p.m., "Ged Byrne" <[email protected]> wrote:

> Hi all,
>
> I'm just picking up Isis for a quick project and running through the
> simpleapp archetype to get started.
>
> In the past it has always just worked, but now the jetty:run target isn't
> working properly.
>
> Everything builds and runs successfully but no app.
>
> Here's the output from the terminal
>
> [INFO] --- jetty-maven-plugin:9.3.5.v20151012:run (default-cli) @ myapp ---
> [INFO] Configuring Jetty for project: Simple App
> [INFO] webAppSourceDirectory not set. Trying src\main\webapp
> [INFO] webAppSourceDirectory d:\src\isis\myapp\src\main\webapp does not
> exist. Trying d:\src\isis\myapp\target\webapp-tmp
> [INFO] Reload Mechanic: automatic
> [INFO] Classes directory D:\src\isis\myapp\target\classes does not exist
> 2016-07-13 18:11:33.826:INFO::main: Logging initialized @6631ms
> [INFO] Context path = /
> [INFO] Tmp directory = D:\src\isis\myapp\target\tmp
> [INFO] Web defaults = org/eclipse/jetty/webapp/webdefault.xml
> [INFO] Web overrides =  none
> [INFO] web.xml file = null
> [INFO] Webapp directory = D:\src\isis\myapp\target\webapp-tmp
> 2016-07-13 18:11:34.000:INFO:oejs.Server:main: jetty-9.3.5.v20151012
> 2016-07-13 18:11:34.585:INFO:oejsh.ContextHandler:main: Started
> o.e.j.m.p.JettyWebAppContext@245a26e1
>
> {/,file:///D:/src/isis/myapp/target/webapp-tmp/,AVAILABLE}{file:///D:/src/isis/mya
> pp/target/webapp-tmp/}
> 2016-07-13 18:11:34.795:INFO:oejs.ServerConnector:main: Started
> ServerConnector@48d7ad8b{HTTP/1.1,[http/1.1]}{0.0.0.0:8080}
> 2016-07-13 18:11:34.796:INFO:oejs.Server:main: Started @7601ms
> [INFO] Started Jetty Server
>
> There seems to be a mismatch in the folder structures.  Maven is looking in
> the usually src/main.  I think it should be looking in webapp/src/main.
> Has there been changes made?
>
> Regards,
>
>
> Ged
>

Reply via email to