{"id":1500,"date":"2023-03-25T13:51:08","date_gmt":"2023-03-25T05:51:08","guid":{"rendered":"https:\/\/www.appblog.cn\/?p=1500"},"modified":"2023-04-28T20:25:53","modified_gmt":"2023-04-28T12:25:53","slug":"common-issues-with-idea-develop-spring-boot-projects","status":"publish","type":"post","link":"https:\/\/www.appblog.cn\/index.php\/2023\/03\/25\/common-issues-with-idea-develop-spring-boot-projects\/","title":{"rendered":"IDEA\u5f00\u53d1Spring Boot\u9879\u76ee\u5e38\u89c1\u95ee\u9898"},"content":{"rendered":"<h3>IDEA\u63d2\u4ef6\u4f7f\u7528Lombok\u627e\u4e0d\u5230\u7b26\u53f7\u95ee\u9898<\/h3>\n<p><code>Settings<\/code> -&gt; <code>Annotation Processors<\/code> -&gt; \u52fe\u9009 <code>Enable annotation processing<\/code><\/p>\n<h3>IDEA\u5f15\u5165Spring Boot\u9879\u76ee\u4e0d\u8bc6\u522byml\u6587\u4ef6<\/h3>\n<p><!-- more --><\/p>\n<p>yml\u914d\u7f6e\uff1a<\/p>\n<pre><code class=\"language-yml\">spring:\n  profiles:\n    active: dev\nserver:\n  port: 6666<\/code><\/pre>\n<p>\u542f\u52a8\u65e5\u5fd7\uff1a<\/p>\n<pre><code>No active profile set, falling back to default profiles: default\nTomcat initialized with port(s): 8080 (http)\n\nCould not resolve placeholder &#039;***&#039; in value &quot;${***}&quot;<\/code><\/pre>\n<p>\u4ece\u542f\u52a8\u65e5\u5fd7\u53ef\u4ee5\u770b\u51fa\u914d\u7f6e\u9879\u5747\u672a\u8bc6\u522b<\/p>\n<p>\u89e3\u51b3\u529e\u6cd5\uff1a\u4fee\u6539<code>pom.xml<\/code>\uff0c\u5220\u9664\u4ee5\u4e0b\u8fd9\u4e00\u884c\u6216\u6539\u4e3ajar<\/p>\n<pre><code class=\"language-xml\">&lt;packaging&gt;pom&lt;\/packaging&gt;<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>IDEA\u63d2\u4ef6\u4f7f\u7528Lombok\u627e\u4e0d\u5230\u7b26\u53f7\u95ee\u9898 Settings -&gt; Annotation Process [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[41],"tags":[193],"class_list":["post-1500","post","type-post","status-publish","format-standard","hentry","category-spring-boot","tag-lombok"],"_links":{"self":[{"href":"https:\/\/www.appblog.cn\/index.php\/wp-json\/wp\/v2\/posts\/1500","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.appblog.cn\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.appblog.cn\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.appblog.cn\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.appblog.cn\/index.php\/wp-json\/wp\/v2\/comments?post=1500"}],"version-history":[{"count":0,"href":"https:\/\/www.appblog.cn\/index.php\/wp-json\/wp\/v2\/posts\/1500\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.appblog.cn\/index.php\/wp-json\/wp\/v2\/media?parent=1500"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.appblog.cn\/index.php\/wp-json\/wp\/v2\/categories?post=1500"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.appblog.cn\/index.php\/wp-json\/wp\/v2\/tags?post=1500"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}