GithubHelp home page GithubHelp logo

run build.sbt have error about mli HOT 7 CLOSED

amplab avatar amplab commented on August 23, 2024
run build.sbt have error

from mli.

Comments (7)

pwendell avatar pwendell commented on August 23, 2024

This is actually a known issue with SBT 11. There is a bug where this version of Jetty uses a non-standard artifact type ("orbit") and SBT gets confused and can't resolve it. The best fix is actually to just upgrade the sbt/sbt-launch.jar to a newer version of SBT - @etrain, you guys should consider upgrading to SBT 13 in MLI to avoid this. @kunguang, you can also manually upgrade it yourself, then rm -rf ~/.ivy2/cache and re-build, it should work.

The bug is discussed here:
http://stackoverflow.com/questions/9889674/sbt-jetty-and-servlet-3-0

There may also be other work-arounds than updating to sbt 13, but I think that's the simplest solution.

from mli.

etrain avatar etrain commented on August 23, 2024

Thanks Patrick - we'll upgrade to SBT 13.

from mli.

kunguang avatar kunguang commented on August 23, 2024

Hello,

i have a try upgrading to SBT 13 but also occure the same proble,can you sent me this product's eclipse version? thanks very much.

Kunguang Zhu

[email protected]

From: Patrick Wendell
Date: 2013-10-08 23:11
To: amplab/MLI
CC: kunguang
Subject: Re: [MLI] run build.sbt have error (#4)
This is actually a known issue with SBT 11. There is a bug where this version of Jetty uses a non-standard artifact type ("orbit") and SBT gets confused and can't resolve it. The best fix is actually to just upgrade the sbt/sbt-launch.jar to a newer version of SBT - @etrain, you guys should consider upgrading to SBT 13 in MLI to avoid this. @kunguang, you can also manually upgrade it yourself, then rm -rf ~/.ivy2/cache and re-build, it should work.
The bug is discussed here:
http://stackoverflow.com/questions/9889674/sbt-jetty-and-servlet-3-0
There may also be other work-arounds than updating to sbt 13, but I think that's the simplest solution.

Reply to this email directly or view it on GitHub.

from mli.

pwendell avatar pwendell commented on August 23, 2024

How did you upgrade? You need to remove and replace the sbt-launch.jar file
inside of MLI. Also, make sure you remove the ivy2 cache and local
directories.

On Thu, Oct 10, 2013 at 6:04 AM, kunguang [email protected] wrote:

Hello,

i have a try upgrading to SBT 13 but also occure the same proble,can you
sent me this product's eclipse version? thanks very much.

Kunguang Zhu

[email protected]

From: Patrick Wendell
Date: 2013-10-08 23:11
To: amplab/MLI
CC: kunguang
Subject: Re: [MLI] run build.sbt have error (#4)
This is actually a known issue with SBT 11. There is a bug where this
version of Jetty uses a non-standard artifact type ("orbit") and SBT gets
confused and can't resolve it. The best fix is actually to just upgrade the
sbt/sbt-launch.jar to a newer version of SBT - @etrain, you guys should
consider upgrading to SBT 13 in MLI to avoid this. @kunguang, you can also
manually upgrade it yourself, then rm -rf ~/.ivy2/cache and re-build, it
should work.
The bug is discussed here:
http://stackoverflow.com/questions/9889674/sbt-jetty-and-servlet-3-0
There may also be other work-arounds than updating to sbt 13, but I think
that's the simplest solution.

Reply to this email directly or view it on GitHub.


Reply to this email directly or view it on GitHubhttps://github.com//issues/4#issuecomment-26051537
.

from mli.

vivekbeniwal avatar vivekbeniwal commented on August 23, 2024

Hi Kunguang,

Following step worked for me:-

  1. update sbt-launch.jar in MLI
  2. Clean ivy2 cache
  3. Add these to build.sbt file:-

classpathTypes ~= (_ + "orbit")

libraryDependencies ++= Seq(
"org.eclipse.jetty" % "jetty-webapp" % "8.1.4.v20120524"
)

ivyXML :=

<dependency org="org.eclipse.jetty.orbit" name="javax.servlet" rev="3.0.0.v201112011016">
  <artifact name="javax.servlet" type="orbit" ext="jar"/>
</dependency>

Let me know if this does not solve your issue.

from mli.

etrain avatar etrain commented on August 23, 2024

Thanks - we'll take a look!

from mli.

kunguang avatar kunguang commented on August 23, 2024

thanks.I'm so greated that you reply me ,i will have a try and also i think your work that make no-expert know machine learning is very great

[email protected]

From: Vivek Beniwal
Date: 2013-12-14 01:45
To: amplab/MLI
CC: kunguang
Subject: Re: [MLI] run build.sbt have error (#4)
Hi Kunguang,
Following step worked for me:-
update sbt-launch.jar in MLI
Clean ivy2 cache
Add these to build.sbt file:- classpathTypes ~= (_ + "orbit")
libraryDependencies ++= Seq(
"org.eclipse.jetty" % "jetty-webapp" % "8.1.4.v20120524"
)
ivyXML :=

Let me know if this does not solve your issue.

Reply to this email directly or view it on GitHub.

from mli.

Related Issues (3)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.