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:
- [Solved] SpringBoot Access Redis Error: java.lang.NoSuchMethodError: redis.clients.jedis.JedisPoolConfig.setMinEvictableIdleTime
- [Solved] An attempt was made to call a method that does not exist. The attempt was made from the following location:
- Springboot startup error start bean ‘eurekaautoserviceregistration’ NullPointerException
- java.lang.NoClassDefFoundError: org/apache/commons/fileupload/FileItemFactory
- [Solved] Spring Boot Error: Failed to instantiate SLF4J LoggerFactory Reported exception:
- [Solved] SLF4J: Failed to load class “org.slf4j.impl.StaticLoggerBinder”.
- [Solved] JSTL1.2 Error: org.apache.catalina.core.StandardWrapperValve.invoke…
- Maven no main manifest attribute when generate jar for project
- Eureka server project startup error handling
- [Solved] SparkSQL Error: org.apache.hadoop.security.HadoopKerberosName.setRuleMechanism