https://github.com/noear/solon_weed3_demo
solon_weed3_demo
https://github.com/noear/solon_weed3_demo
Last synced: 4 months ago
JSON representation
solon_weed3_demo
- Host: GitHub
- URL: https://github.com/noear/solon_weed3_demo
- Owner: noear
- License: apache-2.0
- Created: 2019-12-25T00:58:57.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2022-06-21T02:31:08.000Z (almost 4 years ago)
- Last Synced: 2024-12-30T18:38:49.921Z (over 1 year ago)
- Language: Java
- Size: 51.8 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# solon weed3 demo
#### 这是一个用户写的示例:
* demo0_simple: 比较裸的使用weed3
* demo1_anno: 注解模式使用weed3
* demo2_not_anno: 非注解模式使用weed3。
三者,可以对比性的了解框架应用方式。
### 关于solon说明
* 资源路径说明(不用配置)
```
resources/application.properties(或 application.yml) 为应用配置文件
resources/static/ 为静态文件根目标
resources/WEB-INF/view/ 为视图文件根目标(支持多视图共存)
```
* 模板调试模式(或加热加载模式):
```
启动参数添加:-deubg=1
```
### 关于weed3说明
* 资源路径说明(不用配置)
```
resources/weed3/ 为XMLSQL和模板SQL根目录
```
### 其它说明
* 编译参数添加-parameters
1. meven配置示例:
```xml
org.apache.maven.plugins
maven-compiler-plugin
3.7.0
-parameters
1.8
1.8
UTF-8
```
2. 有些工具可能需要特别的设置,以Eclipse、MyEclipse为例(IDEA不用设置):
```
菜单:Preferences -> Java -> Compiler:
开启: Store information about method parameters(usable via reflection)
```