eclipse启动jfinal+maven项目卡在Starting web server on port: 8080,启动不起来

f222cf24b4e3b0a7c2d0429a70a7025.png<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"

xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">

<modelVersion>4.0.0</modelVersion>

<groupId>zcurd</groupId>

<artifactId>zcurd</artifactId>

<packaging>war</packaging>

<version>0.0.1-SNAPSHOT</version>

<name>zcurd</name>


<dependencies>

<dependency>

<groupId>log4j</groupId>

<artifactId>log4j</artifactId>

<version>1.2.17</version>

</dependency>

<dependency>

<groupId>redis.clients</groupId>

<artifactId>jedis</artifactId>

<version>2.9.0</version>

</dependency>

<dependency>

<groupId>com.xiaoleilu</groupId>

<artifactId>hutool-all</artifactId>

<version>3.3.0</version>

</dependency>

<dependency>

<groupId>com.jfinal</groupId>

<artifactId>jfinal</artifactId>

<version>3.0</version>

</dependency>

<dependency>

<groupId>com.jfinal</groupId>

<artifactId>cos</artifactId>

<version>26Dec2008</version>

</dependency>

<dependency>

<groupId>com.jfinal</groupId>

<artifactId>jetty-server</artifactId>

<version>8.1.8</version>

<scope>provided</scope>

</dependency>


<!-- <dependency> <groupId>com.jfinal</groupId> <artifactId>jfinal-ext</artifactId> 

<version>3.0.1</version> </dependency> -->


<dependency>

<groupId>c3p0</groupId>

<artifactId>c3p0</artifactId>

<version>0.9.1.2</version>

</dependency>

<dependency>

<groupId>mysql</groupId>

<artifactId>mysql-connector-java</artifactId>

<version>5.1.38</version>

</dependency>

<dependency>

<groupId>org.freemarker</groupId>

<artifactId>freemarker</artifactId>

<version>2.3.23</version>

</dependency>

<dependency>

<groupId>com.alibaba</groupId>

<artifactId>fastjson</artifactId>

<version>1.2.7</version>

</dependency>


<dependency>

<groupId>net.sourceforge.javacsv</groupId>

<artifactId>javacsv</artifactId>

<version>2.0</version>

</dependency>


<dependency>

<groupId>junit</groupId>

<artifactId>junit</artifactId>

<version>3.8.1</version>

<scope>test</scope>

</dependency>


<dependency>

<groupId>it.sauronsoftware.cron4j</groupId>

<artifactId>cron4j</artifactId>

<version>2.2.5</version>

</dependency>

        <!-- https://mvnrepository.com/artifact/javax/javaee-api -->

<dependency>

    <groupId>javax</groupId>

    <artifactId>javaee-api</artifactId>

    <version>7.0</version>

    <scope>provided</scope>

</dependency> 


    <!-- <dependency>

<groupId>javaee</groupId>

<artifactId>javaee-api</artifactId>

<version>5</version>

<scope>provided</scope>

</dependency> -->

<dependency>

<groupId>org.apache.activemq</groupId>

<artifactId>activemq-all</artifactId>

<version>5.9.0</version>

</dependency>

<dependency>

<groupId>org.apache.activemq</groupId>

<artifactId>activemq-pool</artifactId>

<version>5.9.0</version>

</dependency>

</dependencies>


<build>

<plugins>

        <plugin>

            <groupId>org.apache.maven.plugins</groupId>

            <artifactId>maven-compiler-plugin</artifactId>

            <version>3.5.1</version>

            <configuration>

                <source>1.7</source>

                <target>1.7</target>

            </configuration>

        </plugin>

    </plugins>

<finalName>zcurd</finalName>

</build>

</project>


评论区

JFinal

2018-08-23 22:46

可能是数据库连上不, 等待一定的时间会出来异常,根据异常找到原因

热门反馈

扫码入社