question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

when i run "sbt compile", error happened:unknown tag html in file ivy-5.0.3.xml.original

See original GitHub issue

when i run “sbt compile”, error happened as follows, could anyone help me please?

java.text.ParseException: [xml parsing: ivy-5.0.3.xml.original:2:7: cvc-elt.1: Cannot find the declaration of element 'html'. in file:~/.ivy2/cache/org.ow2.asm/asm/ivy-5.0.3.xml.original
[error]unknown tag html in file:~/.ivy2/cache/org.ow2.asm/asm/ivy-5.0.3.xml.original
[error]unknown tag head in file:~/.ivy2/cache/org.ow2.asm/asm/ivy-5.0.3.xml.original
[error]unknown tag meta in file:~/.ivy2/cache/org.ow2.asm/asm/ivy-5.0.3.xml.original
[error]unknown tag meta in file:~/.ivy2/cache/org.ow2.asm/asm/ivy-5.0.3.xml.original
[error]unknown tag meta in file:~/.ivy2/cache/org.ow2.asm/asm/ivy-5.0.3.xml.original
[error]unknown tag meta in file:~/.ivy2/cache/org.ow2.asm/asm/ivy-5.0.3.xml.original
[error]unknown tag title in file:~/.ivy2/cache/org.ow2.asm/asm/ivy-5.0.3.xml.original
[error]unknown tag link in file:~/.ivy2/cache/org.ow2.asm/asm/ivy-5.0.3.xml.original
[error]unknown tag link in file:~/.ivy2/cache/org.ow2.asm/asm/ivy-5.0.3.xml.original
[Fatal Error] ivy-5.0.3.xml.original:11:3: The element type "meta" must be terminated by the matching end-tag "</meta>". 

Issue Analytics

  • State:open
  • Created 5 years ago
  • Comments:14 (6 by maintainers)

github_iconTop GitHub Comments

2reactions
botaichangcommented, Mar 5, 2019

@grebe @azidar @ucbjrl @edwardcwang Hi , thanks all for kindly help. For now I can pass this kind of error by deleting many cache files including the .ivy2 and .m2 files. And modify my maven configurations.Thanks very much.

0reactions
botaichangcommented, Mar 5, 2019

@edwardcwang Yes, I think it’s a good idea to build a “fat JAR” so that we can only download one big whole file for use. It’s a little pain to download all the dependencies by sbt for some network reason for example network firewalls in some places.

Read more comments on GitHub >

github_iconTop Results From Across the Web

error while run : sbt compile · Issue #1385 - GitHub
I encountered the same problem with Royen102. And when I run sbt publish-local in rocket-chip/firrtl,it shows me: [info] Loading settings from ...
Read more >
Why does IDEA report errors for build.sbt in a new sbt project?
In case IntelliJ IDEA struggles a bit with caching, try the first and if still not working the second should definitely do the...
Read more >
sbt Reference Manual — Combined Pages
From sbt shell, press up-arrow twice to find the compile command that you executed at the beginning. sbt:foo-build> compile. Getting help. Use the...
Read more >
sbt | IntelliJ IDEA Documentation - JetBrains
You can override the sbt version in your project's build.properties file. ... an sbt project that contains an old version of sbt, you...
Read more >
How to compile, run, and package a Scala project with SBT
You want to use SBT to compile and run a Scala project, and package the project as a JAR file. Solution. Create a...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found