Web applications 如何在Tapestry web应用程序中找到基本URL?

Web applications 如何在Tapestry web应用程序中找到基本URL?,web-applications,tapestry,Web Applications,Tapestry,我正在尝试恢复Tapestry Web应用程序。我可以使用mvnjetty:run提供它,但我不知道基本URL和可用上下文。开发者走了,我很难找到答案。我尝试使用artifactID,但没有成功。我怎么才能知道呢 jetty.xml不存在。My pom.xml: 4.0.0 教育学院 uavWeb 1.0-快照 战争 uavWeb Tapestry 5应用程序 org.eclipse.jetty 防波堤小艇 9.0.0.M0 org.apache.tapestry 挂毯芯 ${tapestry

我正在尝试恢复Tapestry Web应用程序。我可以使用
mvnjetty:run
提供它,但我不知道基本URL和可用上下文。开发者走了,我很难找到答案。我尝试使用artifactID,但没有成功。我怎么才能知道呢

jetty.xml不存在。My pom.xml:


4.0.0
教育学院
uavWeb
1.0-快照
战争
uavWeb Tapestry 5应用程序
org.eclipse.jetty
防波堤小艇
9.0.0.M0
org.apache.tapestry
挂毯芯
${tapestry发布版本}
org.apache.tapestry
织锦压缩机
${tapestry发布版本}
org.testng
testng
${testng发布版本}
测试
org.easymock
轻松的
${easymock发布版本}
测试
org.apache.tapestry
挂毯测试
${tapestry发布版本}
测试
javax.servlet
servlet api
${servlet api发布版本}
假如
org.apache.tapestry
tapestry javadoc
${tapestry发布版本}
假如
log4j
log4j
1.2.17
教育学院
海鸥迷迭香
0.0.2
pt.edu.academiafa.seagull
海鸥自动驾驶仪
0.0.5
pt.edu.academiafa.seagull
海鸥公地
0.0.2
com.github.dvdme
前驱体
1.5.1
uavWeb
org.apache.maven.plugins
maven编译器插件
2.3.2
1.5
1.5
真的
org.apache.maven.plugins
maven surefire插件
2.7.2
质量保证
org.mortbay.jetty
maven jetty插件
6.1.16
真的
tapestry.0执行模式
发展
码头
9090
apache登台
https://repository.apache.org/content/groups/staging/
真的
总是
失败
罗斯爪哇
罗沙瓦海鸥
http://bitbucket.org/ciafa-sw/maven2-release/raw/master/seagull-rosjava-libs
违约
罗斯姆斯格斯
海鸥信息
http://bitbucket.org/ciafa-sw/maven2-release/raw/master/ros-messages
违约
罗斯马斯特
海鸥船长
http://bitbucket.org/ciafa-sw/maven2-release/raw/master
违约
jboss
http://repository.jboss.org/nexus/content/groups/public/
5.3.7
2.5
5.14.10
3
1.7.12

如果有pom.xml或jetty.xml,你能在其中找到什么吗?我在问题中添加了pom.xml。我找不到任何有用的东西。我尝试创建一个新的应用程序进行测试,它会自动将基本URL(即localhost:someport/baseURL)设置为artifactID。但是,在此应用程序中,访问/uavWeb时会出现一个HTTP错误:404页,说明由于未找到而无法访问,因此您正在尝试访问“”?因为我相信应该是这样。应用程序是否有索引页?不确定这里还有什么问题。它有一个索引页,是的。我也是这么想的。我想看看这些警告是否与这个问题有关。
<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"
     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://maven.apache.org/POM/4.0.0">
<modelVersion>4.0.0</modelVersion>
<groupId>pt.edu.academiafa</groupId>
<artifactId>uavWeb</artifactId>
<version>1.0-SNAPSHOT</version>
<packaging>war</packaging>
<name>uavWeb Tapestry 5 Application</name>
    <dependencies>

    <dependency>
        <groupId>org.eclipse.jetty</groupId>
        <artifactId>jetty-servlets</artifactId>
        <version>9.0.0.M0</version>
    </dependency>

    <!-- Too set up an application with a database, change the artifactId below to
         tapestry-hibernate, and add a dependency on your JDBC driver. You'll also
         need to add Hibernate configuration files, such as hibernate.cfg.xml. -->
    <dependency>
        <groupId>org.apache.tapestry</groupId>
        <artifactId>tapestry-core</artifactId>
        <version>${tapestry-release-version}</version>
    </dependency>

    <!-- This adds automatic compression of JavaScript and CSS when in production mode. -->
    <dependency>
        <groupId>org.apache.tapestry</groupId>
        <artifactId>tapestry-yuicompressor</artifactId>
        <version>${tapestry-release-version}</version>
    </dependency>

    <dependency>
        <groupId>org.testng</groupId>
        <artifactId>testng</artifactId>
        <version>${testng-release-version}</version>
        <scope>test</scope>
    </dependency>

    <dependency>
        <groupId>org.easymock</groupId>
        <artifactId>easymock</artifactId>
        <version>${easymock-release-version}</version>
        <scope>test</scope>
    </dependency>

    <dependency>
        <groupId>org.apache.tapestry</groupId>
        <artifactId>tapestry-test</artifactId>
        <version>${tapestry-release-version}</version>
        <scope>test</scope>
    </dependency>

    <!-- Provided by the servlet container, but sometimes referenced in the application
   code. -->
    <dependency>
        <groupId>javax.servlet</groupId>
        <artifactId>servlet-api</artifactId>
        <version>${servlet-api-release-version}</version>
        <scope>provided</scope>
    </dependency>

    <!-- Provide dependency to the Tapestry javadoc taglet which replaces the Maven component report -->
    <dependency>
        <groupId>org.apache.tapestry</groupId>
        <artifactId>tapestry-javadoc</artifactId>
        <version>${tapestry-release-version}</version>
        <scope>provided</scope>
    </dependency>


    <!--  Logger -->   
    <dependency>
        <groupId>log4j</groupId>
        <artifactId>log4j</artifactId>
        <version>1.2.17</version>
    </dependency>   

   <!--  Ros dependencies -->  
   <dependency>
      <groupId>pt.edu.academiafa</groupId>
      <artifactId>seagull-rosjava-lib</artifactId>
      <version>0.0.2</version>
   </dependency> 

   <dependency>
    <groupId>pt.edu.academiafa.seagull</groupId>
    <artifactId>seagull_autopilot_msgs</artifactId>
    <version>0.0.5</version>
   </dependency> 

    <dependency>
        <groupId>pt.edu.academiafa.seagull</groupId>
        <artifactId>seagull_commons_msgs</artifactId>
        <version>0.0.2</version>
    </dependency>

    <dependency>
      <groupId>com.github.dvdme</groupId>
      <artifactId>ForecastIOLib</artifactId>
      <version>1.5.1</version>
    </dependency>



</dependencies>
<build>
    <finalName>uavWeb</finalName>
    <plugins>
        <plugin>
            <groupId>org.apache.maven.plugins</groupId>
            <artifactId>maven-compiler-plugin</artifactId>
            <version>2.3.2</version>
            <configuration>
                <source>1.5</source>
                <target>1.5</target>
                <optimize>true</optimize>
            </configuration>
        </plugin>

        <plugin>
            <groupId>org.apache.maven.plugins</groupId>
            <artifactId>maven-surefire-plugin</artifactId>
            <version>2.7.2</version>
            <configuration>
                <systemPropertyVariables>
                    <tapestry.execution-mode>Qa</tapestry.execution-mode>
                </systemPropertyVariables>
            </configuration>
        </plugin>

        <!-- Run the application using "mvn jetty:run" -->
        <plugin>
            <groupId>org.mortbay.jetty</groupId>
            <artifactId>maven-jetty-plugin</artifactId>
            <version>6.1.16</version>
            <configuration>
                <!-- Log to the console. -->
                <requestLog implementation="org.mortbay.jetty.NCSARequestLog">
                    <!-- This doesn't do anything for Jetty, but is a workaround for a Maven bug
                         that prevents the requestLog from being set. -->
                    <append>true</append>
                </requestLog>
                <systemProperties>
                    <systemProperty>
                        <name>tapestry.execution-mode</name>
                        <value>development</value>
                    </systemProperty>
                <systemProperty>
                    <name>jetty.port</name>
                    <value>9090</value>
                </systemProperty>                        


                </systemProperties>
            </configuration>
        </plugin>
    </plugins>
</build>

<reporting/>

<repositories>

    <repository>
        <id>apache-staging</id>
        <url>https://repository.apache.org/content/groups/staging/</url>
    </repository>


    <repository>
          <releases>
                <enabled>true</enabled>
                <updatePolicy>always</updatePolicy>
                <checksumPolicy>fail</checksumPolicy>
          </releases>
          <id>RosJava</id>
          <name>Seagull RosJava</name>
          <url>http://bitbucket.org/ciafa-sw/maven2-release/raw/master/seagull-rosjava-libs</url>
          <layout>default</layout>      
    </repository>


    <repository>
          <id>RosMsgs</id>
          <name>Seagull Messages</name>
          <url>http://bitbucket.org/ciafa-sw/maven2-release/raw/master/ros-messages</url>
          <layout>default</layout>
    </repository>

    <repository>
          <id>RosMaster</id>
          <name>Seagull Master</name>
          <url>http://bitbucket.org/ciafa-sw/maven2-release/raw/master</url>
          <layout>default</layout>
    </repository>

    <repository>
        <id>jboss</id>
        <url>http://repository.jboss.org/nexus/content/groups/public/</url>
    </repository>
</repositories>

<properties>
    <tapestry-release-version>5.3.7</tapestry-release-version>
    <servlet-api-release-version>2.5</servlet-api-release-version>
    <testng-release-version>5.14.10</testng-release-version>
    <easymock-release-version>3.0</easymock-release-version>
    <slf4j-release-version>1.7.12</slf4j-release-version>
</properties>