1 Star 1 Fork 58

桃子 / JfSnPM

forked from 天为之殇 / JfSnPM 
Create your Gitee Account
Explore and code with more than 6 million developers,Free private repositories !:)
Sign up
Clone or Download
Cancel
Notice: Creating folder will generate an empty file .keep, because not support in Git
Loading...
README.md

JfSnPM



  • 导入项目,导入eclipse

  • 初始化数据库(表结构sqlsrc/main/resources/db)并配置数据库连接

  • 修改src/main/resources/config.txt中的数据库配置

  • 修改src/main/resources/quartz.properties中的数据库配置

  • 本项目jetty默认端口为8081,如要修改端口:

    • 修改pom.xml中的端口

        <plugin>
        	<groupId>org.mortbay.jetty</groupId>
        	<artifactId>jetty-maven-plugin</artifactId>
        	<version>8.1.8.v20121106</version>
        	<configuration>
        		<stopKey>stop</stopKey>
        		<stopPort>5599</stopPort>
        		<webAppConfig>
        			<contextPath>/</contextPath>
        		</webAppConfig>
        		<scanIntervalSeconds>5</scanIntervalSeconds>
        		<connectors>
        			<connector implementation="org.eclipse.jetty.server.nio.SelectChannelConnector">
        				<port>8081</port>
        				<maxIdleTime>60000</maxIdleTime>
        			</connector>
        		</connectors>
        	</configuration>
        </plugin>
    • 修改com.jfsnpm包中的AppStartByJetty.java设置的端口

        public static void main(String[] args) {
        	JFinal.start("src/main/webapp", 8081, "/", 5);
        }
  • 右击com.jfsnpm包中的AppStartByJetty.javaDebug As --> Java Application


Repository Comments ( 0 )

Sign in to post a comment

About

jfinal+snaker+BJUI基础项目 expand collapse
Apache-2.0
Cancel

Releases

No release

Contributors

All

Activities

Load More
can not load any more
1
https://git.oschina.net/taoyy/JfSnPM.git
git@git.oschina.net:taoyy/JfSnPM.git
taoyy
JfSnPM
JfSnPM
master

Search

182229 41614e54 1850385 182230 7885ed45 1850385