bonjour
je reçois cette erreur quand je lance mon Build
est pourtant mon gradle est le suivant
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18 Executing tasks: [:AndroidRestlet:compileJava] Configuration on demand is an incubating feature. :AndroidRestlet:compileJava FAILED FAILURE: Build failed with an exception. * What went wrong: Execution failed for task ':AndroidRestlet:compileJava'. > java.lang.NoClassDefFoundError: com/googlecode/objectify/annotation/Unindexed * Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. BUILD FAILED Total time: 0.287 secs
je ne comprend rien du tout ....
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44 buildscript { repositories { jcenter() } dependencies { classpath 'com.google.appengine:gradle-appengine-plugin:1.9.28' } } repositories { jcenter(); } apply plugin: 'java' apply plugin: 'war' apply plugin: 'appengine' sourceCompatibility = JavaVersion.VERSION_1_7 targetCompatibility = JavaVersion.VERSION_1_7 dependencies { appengineSdk 'com.google.appengine:appengine-java-sdk:1.9.28' compile 'com.googlecode.objectify:objectify:5.1.13' compile 'javax.servlet:servlet-api:2.5' compile 'javax.persistence:persistence-api:1.0.2' compile 'com.googlecode.objectify-query:objectify-query:0.1' compile files('src/main/webapp/WEB-INF/libs/com.google.guava.jar') compile files('src/main/webapp/WEB-INF/libs/objectify-5.1.5.jar') à l'annotation dans le jar compile files('src/main/webapp/WEB-INF/libs/org.codehaus.jackson.core.jar') compile files('src/main/webapp/WEB-INF/libs/org.codehaus.jackson.mapper.jar') compile files('src/main/webapp/WEB-INF/libs/org.restlet.ext.jackson.jar') compile files('src/main/webapp/WEB-INF/libs/org.restlet.ext.servlet.jar') compile files('src/main/webapp/WEB-INF/libs/org.restlet.ext.xml.jar') compile files('src/main/webapp/WEB-INF/libs/org.restlet.jar') } appengine { downloadSdk = true appcfg { oauth2 = true } }
merci de votre aide
cordialement
Partager