CopyPastor

Detecting plagiarism made easy.

Score: 0.8108069896697998; Reported for: String similarity Open both answers

Possible Plagiarism

Plagiarized on 2021-09-20
by avesh

Original Post

Original - Posted on 2019-02-28
by Shang Gao



            
Present in both answers; Present only in the new answer; Present only in the old answer;

**If you are running your application with Java 8 then you can fix this issue by adding the below lines to your pom.xml file**
<build> <plugins> <plugin> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-maven-plugin</artifactId> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> <version>2.3.2</version> <configuration> <source>1.8</source> <target>1.8</target> </configuration> </plugin> </plugins> </build>
<build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-assembly-plugin</artifactId> <version>2.4.1</version> <configuration> <!-- get all project dependencies --> <descriptorRefs> <descriptorRef>jar-with-dependencies</descriptorRef> </descriptorRefs> </configuration> <executions> <execution> <id>make-assembly</id> <!-- bind to the packaging phase --> <phase>package</phase> <goals> <goal>single</goal> </goals> </execution> </executions> </plugin> </plugins> </build>

        
Present in both answers; Present only in the new answer; Present only in the old answer;