已解决!Fatal error compiling: 无效的标记(maven启动失败)

<div class="markdown_views"> <!-- flowchart 箭头图标 勿删 --> <svg xmlns="http://www.w3.org/2000/svg" style="display: none;"><path stroke-linecap="round" d="M5,0 0,2.5 5,5z" id="raphael-marker-block" style="-webkit-tap-highlight-color: rgba(0, 0, 0, 0);"></path></svg> <h4 id="问题描述">问题描述</h4>web

<p>Fatal error compiling: 无效的标记</p>markdown

<p>maven启动错误。。版本号不对</p>maven

<pre class="prettyprint" name="code"><code class="hljs xml has-numbering"><span class="hljs-tag">&lt;<span class="hljs-title">plugin</span>&gt;</span> <span class="hljs-tag">&lt;<span class="hljs-title">artifactId</span>&gt;</span>maven-compiler-plugin<span class="hljs-tag">&lt;/<span class="hljs-title">artifactId</span>&gt;</span> <span class="hljs-tag">&lt;<span class="hljs-title">configuration</span>&gt;</span> <span class="hljs-tag">&lt;<span class="hljs-title">source</span>&gt;</span>${maven.compiler.source}<span class="hljs-tag">&lt;/<span class="hljs-title">source</span>&gt;</span> <span class="hljs-tag">&lt;<span class="hljs-title">target</span>&gt;</span>${maven.compiler.target}<span class="hljs-tag">&lt;/<span class="hljs-title">target</span>&gt;</span> <span class="hljs-tag">&lt;/<span class="hljs-title">configuration</span>&gt;</span> <span class="hljs-tag">&lt;/<span class="hljs-title">plugin</span>&gt;</span></code></pre>ide

<h4 id="问题解决">问题解决</h4>svg

<p>检查:idea—- setting – maven – running – jdk</p>idea

<p><img src="https://img-blog.csdn.net/20180727174200170?watermark/2/text/aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L3B5ZnlzZg==/font/5a6L5L2T/fontsize/400/fill/I0JBQkFCMA==/dissolve/70" alt="这里写图片描述" title=""></p> </div>spa

相关文章
相关标签/搜索