已解決!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

相關文章
相關標籤/搜索