Comments (7)
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.
Thanks Patrick - we'll upgrade to SBT 13.
from mli.
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
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.
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
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.
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 :=
<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.
Thanks - we'll take a look!
from mli.
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
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
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mli.