Comments (3)
HelloRose的依赖目前写的是:
dependencies {
compile "net.paoding:rose:1.2-SNAPSHOT"
compile "net.paoding:rose-jade:1.2-SNAPSHOT"
compile "sslext:sslext:1.10-4"
}
而在qieqie重命名子项目,将rose-jade简化为jade,但打包时使用全名称paoding-rose-jade.jar后,这里也应该相应的改成:
dependencies {
compile "net.paoding:paoding-rose:1.2-SNAPSHOT"
compile "net.paoding:paoding-rose-jade:1.2-SNAPSHOT"
compile "sslext:sslext:1.10-4"
}
你自己修改后再试试,我猜测是这个问题。
from paoding-rose.
遇到了同样的问题,楼上的方法貌似没用。。。
from paoding-rose.
需要修改一下rose的gradle文件,repo改为mavenlocal(),另外要将paoding-rose都去掉,然后sample的gradle也改一下,去掉paoding前缀。
sample的build
apply plugin: 'java'
apply plugin: 'eclipse'
apply plugin: 'war'
apply plugin: 'jetty'
[compileJava, compileTestJava].options.encoding = 'UTF-8'
repositories {
mavenLocal()
mavenCentral()
}
dependencies {
compile "net.paoding:rose:1.2-SNAPSHOT"
compile "net.paoding:jade:1.2-SNAPSHOT"
compile "sslext:sslext:1.10-4"
}
rose的build
subprojects {
apply plugin: 'java'
apply plugin: 'maven'
apply plugin: 'eclipse'
group = "net.paoding"
version = "1.2-SNAPSHOT"
sourceCompatibility = 1.6
[compileJava, compileTestJava]*.options*.encoding = 'UTF-8'
repositories {
mavenLocal()
mavenCentral()
}
uploadArchives {
repositories {
mavenDeployer {
mavenLocal()
}
}
}
dependencies {
}
jar {
manifest.attributes "Implementation-Title": "paoding-rose", "Implementation-Version": version
}
}
project(':rose') {
archivesBaseName = "rose"
dependencies {
compile project(':context')
testCompile "junit:junit:4.7"
compile "javax.servlet:servlet-api:2.4"
compile "commons-logging:commons-logging:1.1.1"
compile "commons-lang:commons-lang:2.6"
compile "commons-collections:commons-collections:3.2.1"
compile "org.springframework:spring-context:3.1.2.RELEASE"
compile "org.springframework:spring-web:3.1.2.RELEASE"
compile "log4j:log4j:1.2.17"
compile "javax.servlet:jsp-api:2.0"
compile "commons-fileupload:commons-fileupload:1.2.2"
compile "org.springframework:spring-webmvc:3.1.2.RELEASE"
testCompile "org.springframework:spring-mock:2.0.8"
compile "org.apache.velocity:velocity:1.7"
compile "org.apache.velocity:velocity-tools:2.0"
}
}
project(':context') {
archivesBaseName = "context"
dependencies {
testCompile "junit:junit:4.7"
compile "javax.servlet:servlet-api:2.4"
compile "commons-logging:commons-logging:1.1.1"
compile "commons-lang:commons-lang:2.6"
compile "commons-collections:commons-collections:3.2.1"
compile "org.springframework:spring-context:3.1.2.RELEASE"
compile "org.springframework:spring-web:3.1.2.RELEASE"
}
}
project(':jade') {
archivesBaseName = "jade"
dependencies {
compile project(':context')
testCompile "junit:junit:4.7"
compile "javax.servlet:servlet-api:2.4"
compile "commons-logging:commons-logging:1.1.1"
compile "commons-lang:commons-lang:2.6"
compile "commons-jexl:commons-jexl:1.1"
compile "commons-collections:commons-collections:3.2.1"
compile "org.springframework:spring-context:3.1.2.RELEASE"
compile "org.springframework:spring-jdbc:3.1.2.RELEASE"
testCompile "org.hsqldb:hsqldb:2.2.8"
}
}
project(':pipe') {
archivesBaseName = "pipe"
dependencies {
compile project(':rose')
testCompile "junit:junit:4.7"
compile "javax.servlet:servlet-api:2.4"
compile "javax.servlet:jsp-api:2.0"
compile "com.metaparadigm:json-rpc:1.0"
}
}
from paoding-rose.
Related Issues (20)
- RoseFilter中的ignoredPaths怎么在web.xml中配置多个呀?
- 好久没有更新了哦 HOT 2
- 求教:如何限制客户端请求的大小? HOT 1
- portal在jetty8.1.18中nullpointerexception
- jade是不是不支持jdk8? HOT 1
- 404 能在rose 中处理吗 HOT 1
- rose 不支持jdk1.8 HOT 4
- rose如何在jsp里使用i18n支持?
- 采用vm模版时的几个问题 HOT 2
- 想声明个拦截器,作用在反射controller中方法参数赋值之前
- pipe测试不成功,会一直卡在那里,浏览器没有响应。已经使用2.0。 HOT 2
- Rose will not be updated any more? Dose it support JDK1.8 HOT 1
- restful提交json,requestBody HOT 4
- why paoding updated to spring 4.x ? HOT 1
- JADE中##sql拼接问题 HOT 1
- jade 与Lombok 的Data注解或者 Thrift的简单bean 的链式编程冲突
- 如何在rose框架内部对request进行wrapper
- Rose 迁移 Spring Boot HOT 2
- 这个项目是不是只有老人人的人用来怀旧了 HOT 1
- 这框架真的垃圾
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from paoding-rose.