Skip to content

Failed to Import json-lib 2.4 in Play 1.4.6 (JDK 1.8) #1520

@foxyang-git

Description

@foxyang-git

Hello, I tried to introduce the official website example but failed. Could you please tell me why?

My environment:

  • JDK 1.8
  • Play 1.4.6

My dependencies.yml file:
require:
- play
- net.sf.json-lib -> json-lib 2.4 jdk15

Command executed: play dependencies --sync
E:\hkpsotnew\play1\play1-1.4.6\ishipper_chk>play dependencies --sync
~ _ _
~ _ __ | | __ _ _ | |
~ | '
| |/ ' | || ||
~ | /||_|__ ()
~ |
| |__/
~
~ play! 1.4.x-localbuild, https://www.playframework.com
~
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option PermSize=128m; support was removed in 8.0
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=512m; support was removed in 8.0
~ Resolving dependencies using E:\hkpsotnew\play1\play1-1.4.6\ishipper_chk\conf\dependencies.yml,
~
~ net.sf.json-lib->json-lib 2.4 (from mavenCentral)
~ commons-collections->commons-collections 3.2.1 (from mavenCentral)
~ xom->xom 1.1 (from mavenCentral)
~ xerces->xmlParserAPIs 2.6.2 (from mavenCentral)
~ xerces->xercesImpl 2.6.2 (from mavenCentral)
~ xalan->xalan 2.7.0 (from mavenCentral)
~ xml-apis->xml-apis 2.0.2 (from mavenCentral)
~ oro->oro 2.0.8 (from mavenCentral)
~
~ Some dynamic revisions have been resolved as following,
~
~ net.sf.json-lib->json-lib 2.4 will use version 2.4
~
~ Some dependencies have been evicted,
~
~ log4j 1.2.14 is overridden by log4j 1.2.17
~ commons-beanutils 1.8.0 is overridden by commons-beanutils 1.9.2
~ commons-logging 1.1.1 is overridden by commons-logging 1.2
~ commons-lang 2.5 is overridden by commons-lang 2.6
~ junit 3.8.2 is overridden by junit 4.12
~ groovy-all 1.7.5 is overridden by groovy-all 2.4.7
~ jaxen 1.1-beta-8 is overridden by jaxen 1.1.6
~
~ WARNING: Some dependencies could not be downloaded (use --verbose for details),
~
~ net.sf.json-lib -> json-lib 2.4: missing artifact
~
~ Installing resolved dependencies,
~
~ lib/commons-collections-3.2.1.jar
~ lib/xom-1.1.jar
~ lib/oro-2.0.8.jar
~ lib/xmlParserAPIs-2.6.2.jar
~ lib/xercesImpl-2.6.2.jar
~ lib/xalan-2.7.0.jar
~
~ *****************************************************************************
~ WARNING: These dependencies are missing, your application may not work properly (use --verbose for details),
~
~ net.sf.json-lib -> json-lib 2.4: missing artifact
~ *****************************************************************************
~
~ Some dependencies are still missing.
~

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions