Compilation Bug

Post your Server Bug Report
tomtom
Posts: 3
Joined: 19 Oct 2015, 12:59
Has thanked: 0
Been thanked: 0

Compilation Bug

Unread post by tomtom »

Hi,
I Try to "mvn install" madsonic with 5.1 sources and i have this during the procedure

Code: Select all

[INFO] Failed to resolve artifact.

Missing:
----------
1) org.madsonic:madsonic-rest-api:jar:5.1

  Try downloading the file manually from the project website.

  Then, install it using the command:
      mvn install:install-file -DgroupId=org.madsonic -DartifactId=madsonic-rest-api -Dversion=5.1 -Dpackaging=jar -Dfile=/path/to/file

  Alternatively, if you host your own repository you can deploy the file there:
      mvn deploy:deploy-file -DgroupId=org.madsonic -DartifactId=madsonic-rest-api -Dversion=5.1 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]

  Path to dependency:
        1) org.madsonic:madsonic-main:war:5.1
        2) org.madsonic:madsonic-rest-api:jar:5.1

----------
1 required artifact is missing.

for artifact:
  org.madsonic:madsonic-main:war:5.1

from the specified remote repositories:
  com.springsource.repository.bundles.release (http://repository.springsource.com/maven/bundles/release),
  java_net (http://download.java.net/maven/2/),
  com.springsource.repository.bundles.external (http://repository.springsource.com/maven/bundles/external),
  teleal (http://teleal.org/m2),
  central (http://repo1.maven.org/maven2),
  4thline.org-repo (http://4thline.org/m2),
  jetty-releases (https://oss.sonatype.org/content/repositories/jetty-releases),
  local1 (file:repo),
  spring-snapshots (http://repo.spring.io/snapshot),
  local2 (file:../repo),
  maven2 (http://repo1.maven.org/maven2)



Can everyone helps for this ?

Thanks a lot
User avatar
Madsonic
Administrator
Administrator
Posts: 984
Joined: 07 Dec 2012, 03:58
Answers: 7
Has thanked: 1201 times
Been thanked: 470 times

Re: Compilation Bug

Unread post by Madsonic »

hi there,

go to the parent source directory and try to build with this command:

Code: Select all

mvn install -P full -DskipTests -DcompilerArgument=-Xlint:deprecation
best regards
tomtom
Posts: 3
Joined: 19 Oct 2015, 12:59
Has thanked: 0
Been thanked: 0

Re: Compilation Bug

Unread post by tomtom »

Thanks, i am progressing, but now in madsonic main i have this problem

Code: Select all

Unable to load tag handler class "org.madsonic.taglibs.UrlTag" for tag "sub:url" -> [Help 1]
Thanks for help
tomtom
Posts: 3
Joined: 19 Oct 2015, 12:59
Has thanked: 0
Been thanked: 0

Re: Compilation Bug

Unread post by tomtom »

Sorry I tried again so slove my probleme but i'am blocked.

I tried to install JspcMojo.java

Code: Select all

mvn install:install-file -Dfile=JspcMojo.java -DpomFile=pom.xml -P full -DskipTests -DcompilerArgument=-Xlint:deprecation
but it changed nothing

Here is the full log

Code: Select all

[INFO]
[INFO] --- jetty-jspc-maven-plugin:8.1.16.v20140903:jspc (jspc) @ madsonic-main ---
[INFO] Compiling s.jsp,error.jsp,WEB-INF/jsp/notFound.jsp,WEB-INF/jsp/lyrics.jsp,WEB-INF/jsp/jquery.jsp,WEB-INF/jsp/genres.jsp,WEB-INF/jsp/generalSettings.jsp,WEB-INF/jsp/reload.jsp,WEB-INF/jsp/playlistHome.jsp,WEB-INF/jsp/recover.jsp,WEB-INF/jsp/editTags.jsp,WEB-INF/jsp/userSettings.jsp,WEB-INF/jsp/playQueueCast.jsp,WEB-INF/jsp/artist.jsp,WEB-INF/jsp/toolTip.jsp,WEB-INF/jsp/apiSettings.jsp,WEB-INF/jsp/random.jsp,WEB-INF/jsp/videoPlayer.jsp,WEB-INF/jsp/carousel.jsp,WEB-INF/jsp/login.jsp,WEB-INF/jsp/homePager.jsp,WEB-INF/jsp/template_scrollbar.jsp,WEB-INF/jsp/externalPlayerH5.jsp,WEB-INF/jsp/playAddDownload.jsp,WEB-INF/jsp/avatarUploadResult.jsp,WEB-INF/jsp/xspfPlaylist.jsp,WEB-INF/jsp/passwordSettings.jsp,WEB-INF/jsp/playlist_new.jsp,WEB-INF/jsp/profileSettings.jsp,WEB-INF/jsp/videoPlayerCast.jsp,WEB-INF/jsp/status.jsp,WEB-INF/jsp/dlnaSettings.jsp,WEB-INF/jsp/lastfmSettings.jsp,WEB-INF/jsp/changeCoverArt.jsp,WEB-INF/jsp/accessDenied.jsp,WEB-INF/jsp/upwin.jsp,WEB-INF/jsp/iconSettings.jsp,WEB-INF/jsp/madsonic.jsp,WEB-INF/jsp/podcastReceiver.jsp,WEB-INF/jsp/home.jsp,WEB-INF/jsp/folderSettings.jsp,WEB-INF/jsp/coverArtThumb.jsp,WEB-INF/jsp/createShare.jsp,WEB-INF/jsp/shareSettings.jsp,WEB-INF/jsp/playQueue.jsp,WEB-INF/jsp/left.jsp,WEB-INF/jsp/playButtons.jsp,WEB-INF/jsp/gettingStarted.jsp,WEB-INF/jsp/playlist.jsp,WEB-INF/jsp/upload.jsp,WEB-INF/jsp/playlistSettings.jsp,WEB-INF/jsp/right.jsp,WEB-INF/jsp/premium.jsp,WEB-INF/jsp/rating.jsp,WEB-INF/jsp/rest/videoPlayer.jsp,WEB-INF/jsp/rest/videoPlayerH5.jsp,WEB-INF/jsp/donate.jsp,WEB-INF/jsp/accessSettings.jsp,WEB-INF/jsp/db.jsp,WEB-INF/jsp/welcome.jsp,WEB-INF/jsp/artistAlbums.jsp,WEB-INF/jsp/more.jsp,WEB-INF/jsp/coverArt.jsp,WEB-INF/jsp/podcastSettings.jsp,WEB-INF/jsp/musicFolderSettings.jsp,WEB-INF/jsp/statistics.jsp,WEB-INF/jsp/main.jsp,WEB-INF/jsp/pandoraSettings.jsp,WEB-INF/jsp/serverstatus.jsp,WEB-INF/jsp/helpToolTip.jsp,WEB-INF/jsp/groupSettings.jsp,WEB-INF/jsp/moods.jsp,WEB-INF/jsp/arrowchat.jsp,WEB-INF/jsp/history.jsp,WEB-INF/jsp/radio.jsp,WEB-INF/jsp/moree.jsp,WEB-INF/jsp/lastfmuser.jsp,WEB-INF/jsp/externalPlayer.jsp,WEB-INF/jsp/importPlaylist.jsp,WEB-INF/jsp/search.jsp,WEB-INF/jsp/playerSettings.jsp,WEB-INF/jsp/internetRadioSettings.jsp,WEB-INF/jsp/index.jsp,WEB-INF/jsp/top.jsp,WEB-INF/jsp/logs.jsp,WEB-INF/jsp/loadPlaylist.jsp,WEB-INF/jsp/include.jsp,WEB-INF/jsp/videoPlayerFlash.jsp,WEB-INF/jsp/playlistEditor.jsp,WEB-INF/jsp/podcast.jsp,WEB-INF/jsp/starred.jsp,WEB-INF/jsp/settingsHeader.jsp,WEB-INF/jsp/videoPlayerHTML5.jsp,WEB-INF/jsp/licenseNotice.jsp,WEB-INF/jsp/transcodingSettings.jsp,WEB-INF/jsp/allmusic.jsp,WEB-INF/jsp/help.jsp,WEB-INF/jsp/head.jsp,WEB-INF/jsp/advancedSettings.jsp,WEB-INF/jsp/cleanupSettings.jsp,WEB-INF/jsp/chat.jsp,WEB-INF/jsp/videoPlayerMEDIAELEMENT.jsp,WEB-INF/jsp/personalSettings.jsp,WEB-INF/jsp/networkSettings.jsp,WEB-INF/jsp/hot.jsp,WEB-INF/jsp/defaultSettings.jsp,index.jsp
[INFO] Includes=**/*.jsp, **/*.jspx
[INFO] Excludes=null
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Madsonic .......................................... SUCCESS [  2.466 s]
[INFO] Madsonic REST API ................................. SUCCESS [  4.376 s]
[INFO] Madsonic Main ..................................... FAILURE [  7.626 s]
[INFO] Madsonic Booter ................................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 14.706 s
[INFO] Finished at: 2015-10-28T01:22:20+01:00
[INFO] Final Memory: 22M/74M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.mortbay.jetty:jetty-jspc-maven-plugin:8.1.16.v20140903:jspc (jspc) on project madsonic-main: Failure processing jsps: file:/home/madsonic-user/madsonic-server-5.1-master/madsonic-main/src/main/webapp/WEB-INF/jsp/videoPlayerHTML5.jsp(5,4) PWC6032: Unable to load tag handler class "org.madsonic.taglibs.UrlTag" for tag "sub:url" -> [Help 1]
thx for any helps
Post Reply