Welcome to leave a message, forward,
The project source code reference address click me click me--Welcome Start
This article will learn:
1, Eclipse、Intellij IDEA clone project
2、How to activate Intellij IDEA
3. Maven downloadInstallationConfiguration
4.weixin_guide How to start
The steps are as follows:Navigationbar Select<a href="http://www.php.cn/wiki/1313.html" target="_blank">File</a>
>Import...
><a href="http://www.php.cn/wiki/1544.html" target="_blank">Git</a>
>Projects from Git
>Clone URL
>URI
Enter the address of the project to be cloned and click Next>Select the project branch version Click Next>Wait for the background clone to complete>SelectImport as general project
>Finally convert the project into a Maven project (this process requires downloading the jar from the Maven central warehouse. If it fails now, it is recommended to install and configure a maven locally. The installation reference address)
Provide a Everyone who has used the domestic Alibaba warehouse
Configure the sub-nodes of mirrors in the maven
tings.xml file , add the following mirror<mirror>
<id>nexus-aliyun</id>
<mirrorOf>*</mirrorOf>
<name>Nexus aliyun</name>
<url>http://maven.aliyun.com/nexus/content/groups/public</url>
</mirror>
Eclipse import project 01.png
Eclipse import project 02.png
Eclipse import project 03.png
Eclipse import project 04.png
##Eclipse import project 05.png
The steps are as follows:
IDEA import Project 01.png
IDEA Import Project 02.png
##IDEA Import Project 03 .png
IDEA Import Project 04.png
Of course, if you are familiar with Git commands, you can also use the command to import the project
Maven install Install and compile the projectEclipse:
Project
Configuration file
Set the startup port and start
Observe the log
/** * 配置插件 */ public void configPlugin(Plugins me) { /* C3p0Plugin c3p0Plugin = new C3p0Plugin(PropKit.get("jdbcUrl"), PropKit.get("user"), PropKit.get("password").trim()); me.add(c3p0Plugin); // 配置ActiveRecord插件 ActiveRecordPlugin arp = new ActiveRecordPlugin(c3p0Plugin); arp.addMapping("course", Course.class); arp.addMapping("orders", Order.class); arp.addMapping("users","id", Users.class); arp.addMapping("Tuser", TUser.class); arp.addMapping("stock", Stock.class); arp.addMapping("idea", Idea.class); arp.setShowSql(true); me.add(arp); // ehcahce插件配置 me.add(new EhCachePlugin()); SchedulerPlugin sp = new SchedulerPlugin("job.properties"); me.add(sp);*/ }
Start the project is to use the Maven plug-in Jetty. The detailed steps are as follows:
The above is the detailed content of Project introduction for WeChat public account development. For more information, please follow other related articles on the PHP Chinese website!