<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>2.2.4.RELEASE</version>
<relativePath/> <!-- lookup parent from repository -->
</parent>
<groupId>com.example</groupId>
<artifactId>temp</artifactId>
<version>0.0.1-SNAPSHOT</version>
<name>Temp</name>
<description>Demo project for Spring Boot</description>
<properties>
<java.version>1.8</java.version>
</properties>
<dependencies>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-data-jpa</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-web</artifactId>
</dependency>
<dependency>
<groupId>mysql</groupId>
<artifactId>mysql-connector-java</artifactId>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
<optional>true</optional>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-test</artifactId>
<scope>test</scope>
<exclusions>
<exclusion>
<groupId>org.junit.vintage</groupId>
<artifactId>junit-vintage-engine</artifactId>
</exclusion>
</exclusions>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
</plugin>
</plugins>
</build>
</project>
像这样
org.eclipse.core.runtime.coreException:无法在org.eclipse.m2e.core.internal.embedder.mavenimpl.readModel(mavenimpl.java:565)在org.eclipse.m2e.core.internal.embedder.mavenimpl.readModel(mavenimpl.java:574)在org.eclipse.m2e.core.embedder.mavenimpl.java.refreshPhase2(ProjectRegistryManager.java:542)在eclipse.m2e.core.internal.project.registrymanager.refresh(ProjectRegistryManager.java:351)在org.eclipse.m2e.core.internal.project.registry.projectRegistryManager.refresh(ProjectRegistryManager.java:298)在org.eclipse.m2e.core.internal.project.registry.projectRegistryManager.java:298)在al.embedder.MavenExecutionContext.ExecuteBare(MavenExecutionContext.java:176)at在org.eclipse.m2e.core.internal.embedder.MavenExecutionContext.execute(mavenExecutionContext.java:151)在org.eclipse.m2e.core.internal.embedder.mavenExecutionContext.execute(mavenExecutionContext.java:99)在org.eclipse.m2e.core.internal.embedder.mavenExecutionContext.java:99)在re.runtime.saferunner.run(saferunner.java:42),org.eclipse.core.internal.events.buildmanager.basicbuild(buildmanager.java:205),org.eclipse.core.internal.events.buildmanager.basicbuild(buildmanager.java:245),org.eclipse.core.internal.events.buildmanager.basicbuild(basicBuildLoop(BuildManager.java:359)在org.eclipse.core.internal.events.buildmanager.build(buildmanager.java:382)在org.eclipse.core.internal.events.autobuildjob.doBuild(autobuildjob.java:144)在org.eclipse.core.internal.events.autobuildjob.java:144)在org.eclipse.core.internal.events.autobuildjob.run(autobuildjob.java:235)在@65:9)在org.apache.maven.model.io.defaultModelReader.read(defaultModelReader.java:122),org.apache.maven.model.io.defaultModelReader.read(defaultModelReader.java:86),org.eclipse.m2e.core.internal.embedder.mavenimpl.readModel(mavenimpl.java:563)...24更多原因是:@65:9)在org.apache.maven.model.io.xpp3.mavenxpp3reader.checkfieldWithDuplicat(mavenxpp3reader.java:140)在org.apache.maven.model.io.xpp3.mavenxpp3reader.java:140)在org.apache.maven.model.io.xpp3.mavenxpp3reader.parsemodel(mavenxpp3reader.java:2275)在ModelReader.java:117)...26个以上
消息显示,在您的pom.xml
第65行的
中有一个重复的
标记:
重复的标记:“build”(位置:START_TAG已看到...\n\n\t...@65:9)
但是,您发布的pom.xml
完全没有问题。也许您的项目中有另一个pom.xml
?
{“error”:“invalid_scope”,“error_description”:“AADSTS70011:为输入参数”scope“提供的值无效。作用域 https://graph.microsoft.com/User.Read https://graph.microsoft.com/User.ReadWrite https://graph.microsoft.com/User.ReadB
好吧,我已经把我的Android Sdk更新到了23&甚至Eclips ADT插件也更新到了最新版本。 > 当我用“空白活动”创建一个新的android项目时,我的Src&Layout文件夹是空的。
下面是我遇到错误的程序: //导入扫描程序类导入java。util。扫描仪; 这些是我得到的错误:
我想在三月计划一个月时间表,而不是使用静态成员。你不需要解释那些评论。“日”和“月时间表”都是类。 在我执行这段代码之前,它有两个错误。一个是“三月[]日”这句话这是一个错误。另一个是'for(int i=0;i 我不明白这些句子错在哪里。语法错误是什么?