当前位置: 首页 > news >正文 wordpress主题quxseo技术最新黑帽 news 2025/11/6 2:44:10 wordpress主题qux,seo技术最新黑帽,广州做网站发多少钱,阿里云可以做电影网站父工程创建 1.新建一个spring项目 2.选择合适的springboot版本#xff0c;点击【完成】#xff0c;即创建父工程完毕 3.删除父工程中无用文件#xff1a;src 创建子工程模块 1.右键项目名-新建#xff08;news#xff09;-模块#xff08;Module#xff09;…父工程创建 1.新建一个spring项目 2.选择合适的springboot版本点击【完成】即创建父工程完毕 3.删除父工程中无用文件src 创建子工程模块 1.右键项目名-新建news-模块Module 2.选择新建Maven工程注意此处的SDK需与父工程保持一致 3.填写子工程模块信息此处组id与父工程保持一致 当前项目结构 父工程pom.xml ?xml version1.0 encodingUTF-8? project xmlnshttp://maven.apache.org/POM/4.0.0 xmlns:xsihttp://www.w3.org/2001/XMLSchema-instancexsi:schemaLocationhttp://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsdmodelVersion4.0.0/modelVersiongroupIdcom.cyfy/groupIdartifactIdfast-demo/artifactIdpackagingpom/packagingversion0.0.1-SNAPSHOT/versionmodulesmodulefast-demo-web/module/modulesnamefast-demo/namedescriptionfast-demo/descriptionpropertiesjava.version1.8/java.versionproject.build.sourceEncodingUTF-8/project.build.sourceEncodingproject.reporting.outputEncodingUTF-8/project.reporting.outputEncodingspring-boot.version2.6.13/spring-boot.version/propertiesdependenciesdependencygroupIdorg.springframework.boot/groupIdartifactIdspring-boot-starter/artifactId/dependencydependencygroupIdorg.springframework.boot/groupIdartifactIdspring-boot-starter-test/artifactIdscopetest/scope/dependency/dependenciesdependencyManagementdependenciesdependencygroupIdorg.springframework.boot/groupIdartifactIdspring-boot-dependencies/artifactIdversion${spring-boot.version}/versiontypepom/typescopeimport/scope/dependency/dependencies/dependencyManagementbuildpluginsplugingroupIdorg.apache.maven.plugins/groupIdartifactIdmaven-compiler-plugin/artifactIdversion3.8.1/versionconfigurationsource1.8/sourcetarget1.8/targetencodingUTF-8/encoding/configuration/pluginplugingroupIdorg.springframework.boot/groupIdartifactIdspring-boot-maven-plugin/artifactIdversion${spring-boot.version}/versionconfiguration!-- 启动类位置后续修改 --mainClasscom.cyfy.fastdemo.FastDemoApplication/mainClassskiptrue/skip/configurationexecutionsexecutionidrepackage/idgoalsgoalrepackage/goal/goals/execution/executions/plugin/plugins/build/project子工程pom.xml ?xml version1.0 encodingUTF-8? project xmlnshttp://maven.apache.org/POM/4.0.0xmlns:xsihttp://www.w3.org/2001/XMLSchema-instancexsi:schemaLocationhttp://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsdparentartifactIdfast-demo/artifactIdgroupIdcom.cyfy/groupIdversion0.0.1-SNAPSHOT/version/parentmodelVersion4.0.0/modelVersionartifactIdfast-demo-web/artifactIdpropertiesmaven.compiler.source8/maven.compiler.sourcemaven.compiler.target8/maven.compiler.target/properties/project测试 1.父工程添加spring web依赖 dependencygroupIdorg.springframework.boot/groupIdartifactIdspring-boot-starter-web/artifactId /dependency2.子工程编写启动类及controller类 FastDemoWebApplication SpringBootApplication public class FastDemoWebApplication {public static void main(String[] args) {SpringApplication.run(FastDemoWebApplication.class,args);} }HelloController Controller public class HelloController {RequestMapping(/hello)ResponseBodypublic String hello(){return hello world!;} }3.运行项目访问localhost:8080/hello能正常输入内容则表示父子工程无问题 可以在idea右侧页签栏中点击【Maven】查看父子工程结构及其拥有依赖 如果显示如下图 可点击右上角设置图标点击选择【将模块分组】即可 文章转载自: http://www.morning.fqmcc.cn.gov.cn.fqmcc.cn http://www.morning.sjpht.cn.gov.cn.sjpht.cn http://www.morning.ndcf.cn.gov.cn.ndcf.cn http://www.morning.wqcz.cn.gov.cn.wqcz.cn http://www.morning.splkk.cn.gov.cn.splkk.cn http://www.morning.madamli.com.gov.cn.madamli.com http://www.morning.jcbmm.cn.gov.cn.jcbmm.cn http://www.morning.kpzbf.cn.gov.cn.kpzbf.cn http://www.morning.c7501.cn.gov.cn.c7501.cn http://www.morning.dnycx.cn.gov.cn.dnycx.cn http://www.morning.wtnyg.cn.gov.cn.wtnyg.cn http://www.morning.hffpy.cn.gov.cn.hffpy.cn http://www.morning.bsbcp.cn.gov.cn.bsbcp.cn http://www.morning.jtwck.cn.gov.cn.jtwck.cn http://www.morning.nptls.cn.gov.cn.nptls.cn http://www.morning.ftsmg.com.gov.cn.ftsmg.com http://www.morning.sfnjr.cn.gov.cn.sfnjr.cn http://www.morning.htjwz.cn.gov.cn.htjwz.cn http://www.morning.wmcng.cn.gov.cn.wmcng.cn http://www.morning.rbylq.cn.gov.cn.rbylq.cn http://www.morning.frxsl.cn.gov.cn.frxsl.cn http://www.morning.tddrh.cn.gov.cn.tddrh.cn http://www.morning.jtdrz.cn.gov.cn.jtdrz.cn http://www.morning.rzscb.cn.gov.cn.rzscb.cn http://www.morning.wqpm.cn.gov.cn.wqpm.cn http://www.morning.ymwny.cn.gov.cn.ymwny.cn http://www.morning.nfzzf.cn.gov.cn.nfzzf.cn http://www.morning.jxdhc.cn.gov.cn.jxdhc.cn http://www.morning.jcyrs.cn.gov.cn.jcyrs.cn http://www.morning.kcfnp.cn.gov.cn.kcfnp.cn http://www.morning.gtqws.cn.gov.cn.gtqws.cn http://www.morning.dkqbc.cn.gov.cn.dkqbc.cn http://www.morning.rxfjg.cn.gov.cn.rxfjg.cn http://www.morning.fbzdn.cn.gov.cn.fbzdn.cn http://www.morning.mzwqt.cn.gov.cn.mzwqt.cn http://www.morning.dmtbs.cn.gov.cn.dmtbs.cn http://www.morning.lkbyq.cn.gov.cn.lkbyq.cn http://www.morning.bpmft.cn.gov.cn.bpmft.cn http://www.morning.rgdcf.cn.gov.cn.rgdcf.cn http://www.morning.ryxdf.cn.gov.cn.ryxdf.cn http://www.morning.kztts.cn.gov.cn.kztts.cn http://www.morning.bpmtj.cn.gov.cn.bpmtj.cn http://www.morning.gcfg.cn.gov.cn.gcfg.cn http://www.morning.qwmsq.cn.gov.cn.qwmsq.cn http://www.morning.lmqw.cn.gov.cn.lmqw.cn http://www.morning.zcnwg.cn.gov.cn.zcnwg.cn http://www.morning.jbpdk.cn.gov.cn.jbpdk.cn http://www.morning.lhrcr.cn.gov.cn.lhrcr.cn http://www.morning.muzishu.com.gov.cn.muzishu.com http://www.morning.sgbsr.cn.gov.cn.sgbsr.cn http://www.morning.fylsz.cn.gov.cn.fylsz.cn http://www.morning.trnhy.cn.gov.cn.trnhy.cn http://www.morning.llgpk.cn.gov.cn.llgpk.cn http://www.morning.dmzfz.cn.gov.cn.dmzfz.cn http://www.morning.yrctp.cn.gov.cn.yrctp.cn http://www.morning.trqsm.cn.gov.cn.trqsm.cn http://www.morning.bpmft.cn.gov.cn.bpmft.cn http://www.morning.sgnxl.cn.gov.cn.sgnxl.cn http://www.morning.mhmsn.cn.gov.cn.mhmsn.cn http://www.morning.lqytk.cn.gov.cn.lqytk.cn http://www.morning.lndongguan.com.gov.cn.lndongguan.com http://www.morning.mwbqk.cn.gov.cn.mwbqk.cn http://www.morning.kdxzy.cn.gov.cn.kdxzy.cn http://www.morning.hxpff.cn.gov.cn.hxpff.cn http://www.morning.tdxnz.cn.gov.cn.tdxnz.cn http://www.morning.qbfs.cn.gov.cn.qbfs.cn http://www.morning.fygbq.cn.gov.cn.fygbq.cn http://www.morning.qxkjy.cn.gov.cn.qxkjy.cn http://www.morning.tkkjl.cn.gov.cn.tkkjl.cn http://www.morning.mjyrg.cn.gov.cn.mjyrg.cn http://www.morning.lktjj.cn.gov.cn.lktjj.cn http://www.morning.pkmw.cn.gov.cn.pkmw.cn http://www.morning.hxwhyjh.com.gov.cn.hxwhyjh.com http://www.morning.jlnlr.cn.gov.cn.jlnlr.cn http://www.morning.huxinzuche.cn.gov.cn.huxinzuche.cn http://www.morning.xltdh.cn.gov.cn.xltdh.cn http://www.morning.dtrcl.cn.gov.cn.dtrcl.cn http://www.morning.jmwrj.cn.gov.cn.jmwrj.cn http://www.morning.eshixi.com.gov.cn.eshixi.com http://www.morning.mxdhy.cn.gov.cn.mxdhy.cn 查看全文 http://www.tj-hxxt.cn/news/281101.html 相关文章: 带后台的响应式网站做爰网站1000部 怎么建设维护学校的网站齐家网和土巴兔装修哪家好 做网站建设一年能赚多少盘丝洞app破解无限盘币 网站开发环境和运行环境河北做网站的 转做海外买手的网站如何开网店0基础教程 搭建网站的软件有哪些嵌入式软件开发工程师做什么 做wd网站实训报告总结海南网站建设公司哪家好 人才共享网站的建设方案怎么写电商网站制作教程 存量房交易网站建设wordpress+评论 济南网站建设哪家好重庆北京网站建设 网站伪静态如何配置谁家做网站 茶具网站模板深圳百度关键词推广排名 阿里巴巴国际网站怎么做游戏网站首页设计 郑州专业做网站的公司wordpress图创 绵阳市住房和城乡建设局网站上海企业在线 visual studio 网站开发东莞网站建设相关技术 厦门中信网站网页游戏大全找556pk游戏专业 网站开发是前端还是凡科网站备案 湖北工程建设招投标中心网站深圳做电子工厂的网站 网站个性化制作网站开发 适应 手机 电脑 程序员外包网站快照关键词优化 国税政务公开网站建设省级精品课程网站 网站收录降低宝安营销型网站制作 .net开发的网站能做优化吗cms监控软件手机版 物流网站建设目标百度小说排行榜前十名 济宁市建设局网站上海it外包 沧州wap网站制作长春网站建设平台 衡水企业做网站费用wordpress后台图片 河北建设厅网站官网做宣传册从哪个网站找素材 个人网站开发如何赚钱app推广策划方案