Three kinds of JSON are commonly used to parse Jackson, Fastjson, and Gson.
Jackson Dependency Pack -- Com.fasterxml.jackson.core Jackson-databind 2.9.3 -- Com.fasterxml.jackson.core Jackson-core 2.9.3 -- Com.fasterxml.jackson.core Jackson-annotations 2.9.3
Fastjson com.alibaba fastjson 1.2.47
Gson com.google.code.gson gson
class called C1, and this C1 will import this portal-impl artifact of the class B1, then in the compilation phase, we definitely need this B1, otherwise C1 pass compilation, Because our scope is set to provided, the compile phase works, so C1 compiles correctly. Test phase is similar, so ignore.
So in the end we're going to have to PROJECTABC deployed to the Liferay server, and this time, we found under $liferay-tomcat-home\webapps\root\web-inf\lib, There is already a portal-impl.jar in it, in
Error:Artifacttransferexception:failure to transfer org.apache.hadoop:hadoop-hdfs:jar:2.6.0 from http://localhost:8081/ Nexus/content/groups/public/was cached in the local repository, resolution won't be reattempted until the update inter Val of central have elapsed or updates are forced. Original error:could not transfer artifact org.apache.hadoop:hadoop-hdfs:jar:2.6.0 from/to Central (http://localhost : 8081/nexus/content/groups/public/): No response received after 60000Cause:: hadoop-hdfs:jar
Guys. I am a Chinese. I had searched this question in search engines and some technology forums, but I cann't find the answer, so I find help here.
The following is the detail of the question:
I have three war projects (project_a, project_ B, project_c). project_c is dependent on project_ B, project_ B is dependent on project_a.
There is a file "index. jsp" in project_a, project_ B overwrite the "index. jsp" File
By my understanding, when the project_c is deployed to Web server, the file "in
Java.lang.ClassNotFoundException:org.apache.commons.dbcp.BasicDataSourceWorkaround: Add the Missing jar package: Commons-collections-3.1.jar,commons-pool-1.3.jar,commons-dbcp.jar.Note: Commons-pool and commons-dbcp have migrated to the new: Commons-pool2 and COMMONS-DBCP2, with the new can't solve the problem, so still use the old bar.java.lang.unsupportedclassversionerror:com/mysql/jdbc/driver:unsupported Major.minor version 52.0 (Unable to load Class Com.mysql.jdbc.Driver)Workaround: Add the M
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.