issuse for start jetty server

20 views
Skip to first unread message

suthaa78

unread,
Aug 4, 2013, 11:04:31 AM8/4/13
to ysc...@googlegroups.com
 
 Hi

 as you said,
 All test results are success but when connecting server command
 says like that

   T E S T S
-------------------------------------------------------
Running org.yarlithub.UserDaoTest
Hibernate: insert into yschool_lite.user (email, password, user_name, user_role)
 values (?, ?, ?, ?)
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 6.293 sec

Results :

Tests run: 1, Failures: 0, Errors: 0, Skipped: 0

[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] ySchool ........................................... SUCCESS [0.004s]
[INFO] event-scheduling .................................. SUCCESS [1.847s]
[INFO] reporting ......................................... SUCCESS [0.347s]
[INFO] repository ........................................ SUCCESS [2.622s]
[INFO] user-management ................................... SUCCESS [0.297s]
[INFO] lite_repo ......................................... SUCCESS [7.326s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 12.629s
[INFO] Finished at: Sun Aug 04 20:20:58 IST 2013
[INFO] Final Memory: 9M/150M
[INFO] ------------------------------------------------------------------------
E:\ySchool-master>cd yschool

E:\ySchool-master\yschool>mvn clean jetty:run-war
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building integration 1.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[WARNING] The POM for org.yarlithub.yschool:lite_repo:jar:1.0-SNAPSHOT is invali
d, transitive dependencies (if any) will not be available, enable debug logging
for more details
[INFO]
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ yschool-ui ---
[INFO] Deleting E:\ySchool-master\yschool\target
[INFO]
[INFO] >>> maven-jetty-plugin:6.1.26:run-war (default-cli) @ yschool-ui >>>
[INFO]
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ yschool-ui
 ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 3 resources
[INFO]
[INFO] --- maven-compiler-plugin:2.1:compile (default-compile) @ yschool-ui ---
[INFO] Compiling 10 source files to E:\ySchool-master\yschool\target\classes
[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR :
[INFO] -------------------------------------------------------------
[ERROR] \ySchool-master\yschool\src\main\java\org\yarlithub\yschool\service\Setu
pService.java:[4,16] error: package org.slf4j does not exist

[ERROR] \ySchool-master\yschool\src\main\java\org\yarlithub\yschool\service\Setu
pService.java:[5,16] error: package org.slf4j does not exist

[ERROR] \ySchool-master\yschool\src\main\java\org\yarlithub\yschool\service\Setu
pService.java:[7,49] error: package org.springframework.transaction.annotation d
oes not exist

[ERROR] \ySchool-master\yschool\src\main\java\org\yarlithub\yschool\service\Setu
pService.java:[17,25] error: cannot find symbol

[ERROR] \ySchool-master\yschool\src\main\java\org\yarlithub\yschool\service\Setu
pService.java:[19,5] error: cannot find symbol

[ERROR] \ySchool-master\yschool\src\main\java\org\yarlithub\yschool\service\Setu
pService.java:[17,41] error: cannot find symbol

[ERROR] \ySchool-master\yschool\src\main\java\org\yarlithub\yschool\service\Setu
pService.java:[33,15] error: cannot access GenericDAO

[INFO] 7 errors
[INFO] -------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 2.015s
[INFO] Finished at: Sun Aug 04 20:21:40 IST 2013
[INFO] Final Memory: 14M/88M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.
1:compile (default-compile) on project yschool-ui: Compilation failure: Compilat
ion failure:
[ERROR] \ySchool-master\yschool\src\main\java\org\yarlithub\yschool\service\Setu
pService.java:[4,16] error: package org.slf4j does not exist
[ERROR]
[ERROR] \ySchool-master\yschool\src\main\java\org\yarlithub\yschool\service\Setu
pService.java:[5,16] error: package org.slf4j does not exist
[ERROR]
[ERROR] \ySchool-master\yschool\src\main\java\org\yarlithub\yschool\service\Setu
pService.java:[7,49] error: package org.springframework.transaction.annotation d
oes not exist
[ERROR]
[ERROR] \ySchool-master\yschool\src\main\java\org\yarlithub\yschool\service\Setu
pService.java:[17,25] error: cannot find symbol
[ERROR]
[ERROR] \ySchool-master\yschool\src\main\java\org\yarlithub\yschool\service\Setu
pService.java:[19,5] error: cannot find symbol
[ERROR]
[ERROR] \ySchool-master\yschool\src\main\java\org\yarlithub\yschool\service\Setu
pService.java:[17,41] error: cannot find symbol
[ERROR]
[ERROR] \ySchool-master\yschool\src\main\java\org\yarlithub\yschool\service\Setu
pService.java:[33,15] error: cannot access GenericDAO
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e swit
ch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please rea
d the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureExc
eption
 by suthesan

Jayakrishnan Rajagopalasarma

unread,
Aug 4, 2013, 11:56:46 AM8/4/13
to ysc...@googlegroups.com
""[WARNING] The POM for org.yarlithub.yschool:lite_repo:jar:1.0-SNAPSHOT is invalid, transitive dependencies (if any) will not be available, enable debug logging..""

This lines shows that you have not pulled the last updated version of ySchool
see the lines 139,140 of this pom file and compere it with your local file whether they are same.

Do a git pull upstream on your ySchool base folder and run mvn clean install again.


.




"Think big, Start Small, Move Fast"
Thanks && Regards..
R. Jayakrishnan

      





--
You received this message because you are subscribed to the Google Groups "ySchool" group.
To unsubscribe from this group and stop receiving emails from it, send an email to yschool+u...@googlegroups.com.
To post to this group, send email to ysc...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Reply all
Reply to author
Forward
0 new messages