How can i find a solution for such problems ?
Code: Select all
e:\projects\madsonic>java -version
java version "1.7.0_51"
Java(TM) SE Runtime Environment (build 1.7.0_51-b13)
Java HotSpot(TM) Client VM (build 24.51-b03, mixed mode, sharing)
e:\projects\madsonic>mvn compiler:compile
[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Build Order:
[INFO]
[INFO] Madsonic
[INFO] Madsonic Main
[INFO]
[INFO] Using the builder org.apache.maven.lifecycle.internal.builder.singlethrea
ded.SingleThreadedBuilder with a thread count of 1
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Madsonic 5.0
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-compiler-plugin:2.5.1:compile (default-cli) @ madsonic ---
[INFO] No sources to compile
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Madsonic Main 5.0
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-compiler-plugin:2.5.1:compile (default-cli) @ madsonic-main ---
[INFO] Compiling 302 source files to E:\projects\madsonic\madsonic-main\target\c
lasses
[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR :
[INFO] -------------------------------------------------------------
[ERROR] E:\projects\madsonic\madsonic-main\src\main\java\net\sourceforge\subsoni
c\service\MediaFileService.java:[48,23] cannot find symbol
symbol : class StandardCharsets
location: package java.nio.charset
[ERROR] E:\projects\madsonic\madsonic-main\src\main\java\net\sourceforge\subsoni
c\service\MediaFileService.java:[49,20] package java.nio.file does not exist
[ERROR] E:\projects\madsonic\madsonic-main\src\main\java\net\sourceforge\subsoni
c\service\MediaFileService.java:[50,20] package java.nio.file does not exist
[ERROR] E:\projects\madsonic\madsonic-main\src\main\java\net\sourceforge\subsoni
c\service\MediaFileService.java:[51,20] package java.nio.file does not exist
[ERROR] E:\projects\madsonic\madsonic-main\src\main\java\net\sourceforge\subsoni
c\service\UPnPService.java:[24,44] cannot find symbol
symbol : class FolderBasedContentDirectory
location: package net.sourceforge.subsonic.service.upnp
[ERROR] E:\projects\madsonic\madsonic-main\src\main\java\net\sourceforge\subsoni
c\service\UPnPService.java:[57,12] cannot find symbol
symbol : class FolderBasedContentDirectory
location: class net.sourceforge.subsonic.service.UPnPService
[ERROR] E:\projects\madsonic\madsonic-main\src\main\java\net\sourceforge\subsoni
c\service\UPnPService.java:[177,47] cannot find symbol
symbol : class FolderBasedContentDirectory
location: class net.sourceforge.subsonic.service.UPnPService
[ERROR] E:\projects\madsonic\madsonic-main\src\main\java\net\sourceforge\subsoni
c\service\MediaFileService.java:[1080,9] cannot find symbol
symbol : class Path
location: class net.sourceforge.subsonic.service.MediaFileService
[ERROR] E:\projects\madsonic\madsonic-main\src\main\java\net\sourceforge\subsoni
c\service\MediaFileService.java:[1080,21] cannot find symbol
symbol : variable Paths
location: class net.sourceforge.subsonic.service.MediaFileService
[ERROR] E:\projects\madsonic\madsonic-main\src\main\java\net\sourceforge\subsoni
c\service\MediaFileService.java:[1085,38] cannot find symbol
symbol : variable StandardCharsets
location: class net.sourceforge.subsonic.service.MediaFileService
[ERROR] E:\projects\madsonic\madsonic-main\src\main\java\net\sourceforge\subsoni
c\service\MediaFileService.java:[1085,13] cannot find symbol
symbol : variable Files
location: class net.sourceforge.subsonic.service.MediaFileService
[ERROR] E:\projects\madsonic\madsonic-main\src\main\java\net\sourceforge\subsoni
c\service\MediaFileService.java:[1093,39] cannot find symbol
symbol : variable StandardCharsets
location: class net.sourceforge.subsonic.service.MediaFileService
[ERROR] E:\projects\madsonic\madsonic-main\src\main\java\net\sourceforge\subsoni
c\service\MediaFileService.java:[1093,14] cannot find symbol
symbol : variable Files
location: class net.sourceforge.subsonic.service.MediaFileService
[ERROR] E:\projects\madsonic\madsonic-main\src\main\java\net\sourceforge\subsoni
c\service\UPnPService.java:[128,21] cannot find symbol
symbol : class FolderBasedContentDirectory
location: class net.sourceforge.subsonic.service.UPnPService
[ERROR] E:\projects\madsonic\madsonic-main\src\main\java\net\sourceforge\subsoni
c\service\UPnPService.java:[128,116] cannot find symbol
symbol : class FolderBasedContentDirectory
location: class net.sourceforge.subsonic.service.UPnPService
[ERROR] E:\projects\madsonic\madsonic-main\src\main\java\net\sourceforge\subsoni
c\service\UPnPService.java:[129,69] cannot find symbol
symbol : class FolderBasedContentDirectory
location: class net.sourceforge.subsonic.service.UPnPService
[ERROR] E:\projects\madsonic\madsonic-main\src\main\java\net\sourceforge\subsoni
c\service\UPnPService.java:[132,22] cannot find symbol
symbol: class FolderBasedContentDirectory
protected FolderBasedContentDirectory createServiceInstance() throws
Exception {
[INFO] 17 errors
[INFO] -------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Madsonic .......................................... SUCCESS [ 0.476 s]
[INFO] Madsonic Main ..................................... FAILURE [ 4.130 s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 4.795 s
[INFO] Finished at: 2014-03-11T17:51:05+02:00
[INFO] Final Memory: 13M/151M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.
5.1:compile (default-cli) on project madsonic-main: Compilation failure: Compila
tion failure:
[ERROR] E:\projects\madsonic\madsonic-main\src\main\java\net\sourceforge\subsoni
c\service\MediaFileService.java:[48,23] cannot find symbol
[ERROR] symbol : class StandardCharsets
[ERROR] location: package java.nio.charset
[ERROR] E:\projects\madsonic\madsonic-main\src\main\java\net\sourceforge\subsoni
c\service\MediaFileService.java:[49,20] package java.nio.file does not exist
[ERROR] E:\projects\madsonic\madsonic-main\src\main\java\net\sourceforge\subsoni
c\service\MediaFileService.java:[50,20] package java.nio.file does not exist
[ERROR] E:\projects\madsonic\madsonic-main\src\main\java\net\sourceforge\subsoni
c\service\MediaFileService.java:[51,20] package java.nio.file does not exist
[ERROR] E:\projects\madsonic\madsonic-main\src\main\java\net\sourceforge\subsoni
c\service\UPnPService.java:[24,44] cannot find symbol
[ERROR] symbol : class FolderBasedContentDirectory
[ERROR] location: package net.sourceforge.subsonic.service.upnp
[ERROR] E:\projects\madsonic\madsonic-main\src\main\java\net\sourceforge\subsoni
c\service\UPnPService.java:[57,12] cannot find symbol
[ERROR] symbol : class FolderBasedContentDirectory
[ERROR] location: class net.sourceforge.subsonic.service.UPnPService
[ERROR] E:\projects\madsonic\madsonic-main\src\main\java\net\sourceforge\subsoni
c\service\UPnPService.java:[177,47] cannot find symbol
[ERROR] symbol : class FolderBasedContentDirectory
[ERROR] location: class net.sourceforge.subsonic.service.UPnPService
[ERROR] E:\projects\madsonic\madsonic-main\src\main\java\net\sourceforge\subsoni
c\service\MediaFileService.java:[1080,9] cannot find symbol
[ERROR] symbol : class Path
[ERROR] location: class net.sourceforge.subsonic.service.MediaFileService
[ERROR] E:\projects\madsonic\madsonic-main\src\main\java\net\sourceforge\subsoni
c\service\MediaFileService.java:[1080,21] cannot find symbol
[ERROR] symbol : variable Paths
[ERROR] location: class net.sourceforge.subsonic.service.MediaFileService
[ERROR] E:\projects\madsonic\madsonic-main\src\main\java\net\sourceforge\subsoni
c\service\MediaFileService.java:[1085,38] cannot find symbol
[ERROR] symbol : variable StandardCharsets
[ERROR] location: class net.sourceforge.subsonic.service.MediaFileService
[ERROR] E:\projects\madsonic\madsonic-main\src\main\java\net\sourceforge\subsoni
c\service\MediaFileService.java:[1085,13] cannot find symbol
[ERROR] symbol : variable Files
[ERROR] location: class net.sourceforge.subsonic.service.MediaFileService
[ERROR] E:\projects\madsonic\madsonic-main\src\main\java\net\sourceforge\subsoni
c\service\MediaFileService.java:[1093,39] cannot find symbol
[ERROR] symbol : variable StandardCharsets
[ERROR] location: class net.sourceforge.subsonic.service.MediaFileService
[ERROR] E:\projects\madsonic\madsonic-main\src\main\java\net\sourceforge\subsoni
c\service\MediaFileService.java:[1093,14] cannot find symbol
[ERROR] symbol : variable Files
[ERROR] location: class net.sourceforge.subsonic.service.MediaFileService
[ERROR] E:\projects\madsonic\madsonic-main\src\main\java\net\sourceforge\subsoni
c\service\UPnPService.java:[128,21] cannot find symbol
[ERROR] symbol : class FolderBasedContentDirectory
[ERROR] location: class net.sourceforge.subsonic.service.UPnPService
[ERROR] E:\projects\madsonic\madsonic-main\src\main\java\net\sourceforge\subsoni
c\service\UPnPService.java:[128,116] cannot find symbol
[ERROR] symbol : class FolderBasedContentDirectory
[ERROR] location: class net.sourceforge.subsonic.service.UPnPService
[ERROR] E:\projects\madsonic\madsonic-main\src\main\java\net\sourceforge\subsoni
c\service\UPnPService.java:[129,69] cannot find symbol
[ERROR] symbol : class FolderBasedContentDirectory
[ERROR] location: class net.sourceforge.subsonic.service.UPnPService
[ERROR] E:\projects\madsonic\madsonic-main\src\main\java\net\sourceforge\subsoni
c\service\UPnPService.java:[132,22] cannot find symbol
[ERROR] symbol: class FolderBasedContentDirectory
[ERROR] protected FolderBasedContentDirectory createServiceInstance() throws Exc
eption {
[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
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR] mvn <goals> -rf :madsonic-main