[Solved] Jsonobject has no from object, idea has no Maven dependency, jsonobject Maven dependency package

Contents:

1. Jsonobject Maven dependency package

2. Idea introduced Maven has a red line, no dependence

3. Jsonobject has no fromobject

\\\\\\\\\\\\\\\\\\\\\\\

1. Jsonobject Maven dependency package

A total of one, but the full function of six, I also found the Internet

Pom.xml is as follows:

<dependencies>

  <!-- https://mvnrepository.com/artifact/net.sf.json-lib/json-lib -->
  <dependency>
    <groupId>net.sf.json-lib</groupId>
    <artifactId>json-lib</artifactId>
    <version>2.4</version>
    <classifier>jdk15</classifier>
  </dependency>

  <dependency>
    <groupId>org.json</groupId>
    <artifactId>json</artifactId>
    <version>20160810</version>
  </dependency>
  <!-- https://mvnrepository.com/artifact/net.sf.ezmorph/ezmorph -->
  <dependency>
    <groupId>net.sf.ezmorph</groupId>
    <artifactId>ezmorph</artifactId>
    <version>1.0.6</version>
  </dependency>


  <!-- https://mvnrepository.com/artifact/commons-beanutils/commons-beanutils -->
  <dependency>
    <groupId>commons-beanutils</groupId>
    <artifactId>commons-beanutils</artifactId>
    <version>1.9.3</version>
  </dependency>

  <!-- https://mvnrepository.com/artifact/commons-collections/commons-collections -->
  <dependency>
    <groupId>commons-collections</groupId>
    <artifactId>commons-collections</artifactId>
    <version>3.2.2</version>
  </dependency>


  <!-- https://mvnrepository.com/artifact/org.apache.commons/commons-lang3 -->
  <dependency>
    <groupId>org.apache.commons</groupId>
    <artifactId>commons-lang3</artifactId>
    <version>3.4</version>
  </dependency>

  <!-- https://mvnrepository.com/artifact/commons-lang/commons-lang -->
  <dependency>
    <groupId>commons-lang</groupId>
    <artifactId>commons-lang</artifactId>
    <version>2.6</version>
  </dependency>

  <!-- https://mvnrepository.com/artifact/commons-logging/commons-logging -->
  <dependency>
    <groupId>commons-logging</groupId>
    <artifactId>commons-logging</artifactId>
    <version>1.2</version>
  </dependency>


  <dependency>
    <groupId>junit</groupId>
    <artifactId>junit</artifactId>
    <version>3.8.1</version>
    <scope>test</scope>
  </dependency>

  <dependency>
    <groupId>commons-io</groupId>
    <artifactId>commons-io</artifactId>
    <version>2.4</version>
  </dependency>

</dependencies>

2. idea introduces maven with red lines and no dependencies.
For a number of reasons.
may be the wrong path.
or the repository is not downloaded at all.
Some are computer cards, not buffered on, you can click on the following chart.

Another is: the following red box is missing. It means jars used in different environments or jdks under the same version. If this element is configured, the element name will be added at the end to find the corresponding jar

The path is all right, but you have to decide the jar again

3. Jsonobject has no fromobject

This is a fuckin ‘thing

You may have used this bag

But fromobject is in the following package

Similar Posts: