weixin_39557087 2020-11-20 22:42
浏览 0

org.javalite.activeweb.ControllerException: java.lang.NoSuchMethodError: org.javalite.common.Util.join(Ljava/lang/StringBuilder;Ljava/util/List;Ljava/lang/String;)V;

I'm starting to go crazy with these issue. List is a Collection, why is it not working???


org.javalite.activeweb.ControllerException: java.lang.NoSuchMethodError: org.javalite.common.Util.join(Ljava/lang/StringBuilder;Ljava/util/List;Ljava/lang/String;)V; org.javalite.common.Util.join(Ljava/lang/StringBuilder;Ljava/util/List;Ljava/lang/String;)V
    at org.javalite.activeweb.Router.generate(Router.java:264)
    at org.javalite.activeweb.HttpSupport.redirect(HttpSupport.java:460)
    at org.javalite.activeweb.HttpSupport.redirect(HttpSupport.java:405)
    at org.javalite.activeweb.HttpSupport.redirect(HttpSupport.java:395)

该提问来源于开源项目:javalite/javalite

  • 写回答

6条回答 默认 最新

  • weixin_39557087 2020-11-20 22:42
    关注

    OK, I concluded that Sonatype maven repo is extremely unreliable. It is feeding wrong snapshot version, sometimes the right ones, and sometimes breaks alltogether. We must stop using it, and need to brng our own repository for snapshots. Here is how I determined this: 1. Deployed the latest snashots to Sonatype directly from my laptop - first ActiveWeb, then ActiveJDBC 2. Deleted local snapshots 3. Rebuilt the dependent project, saw AJ and AW pulled from Sonatype and got this exception. 4. Deleted ~/.m2/repository/org/javalite from local 5. Rebuilt and installed AJ locally 6. Rebuild AW in offline mode and installed locally 7. Ran dependent project in offline mode, and got no error.

    评论

报告相同问题?