- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
我正在处理 Spring MVC project
.
它被本地部署在 Tomcat
服务器(apache-tomcat-7.0.85)正确没有任何问题。
但我的主管要求我将其部署到 JBoss
服务器,因为我们公司在生产级别使用 JBoss 服务器。
因此,我尝试将其部署在本地 JBoss 服务器上,但效果不佳。
我的网址 (http://localhost:8080/MCloudServices-1.0/test) 出现 404 错误。
问题是服务器日志中没有任何错误。
将 Tomcat 移动到 JBoss 时是否有任何版本错误或者我必须进行一些配置更改?我在谷歌上搜索这个但找不到任何解决方案。
我是 Spring MVC 的新手,希望有一个解决方案。
我使用的Tomcat版本--> apache-tomcat-7.0.85
我检查过的 JBoss 版本——> jboss-5.0.0.GA 和 jboss-6.1.0.Final
Spring 版--> 4.1.9.RELEASE
我还附上了 pom.xml 和 server.log
服务器日志=============================================================================== JBoss Bootstrap Environment JBOSS_HOME: C:\jboss-5.0.0.GA JAVA: C:\Program Files\Java\jdk1.8.0_144\bin\java JAVA_OPTS: -Dprogram.name=run.bat -server -Xms128m -Xmx512m -XX:MaxPermSize=256m -Dorg.jboss.resolver.warning=true -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000 CLASSPATH: C:\jboss-5.0.0.GA\bin\run.jar =============================================================================== Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=256m; support was removed in 8.0 10:02:21,850 INFO [ServerImpl] Starting JBoss (Microcontainer)... 10:02:21,850 INFO [ServerImpl] Release ID: JBoss [Morpheus] 5.0.0.GA (build: SVNTag=JBoss_5_0_0_GA date=200812041714) 10:02:21,850 INFO [ServerImpl] Bootstrap URL: null 10:02:21,850 INFO [ServerImpl] Home Dir: C:\jboss-5.0.0.GA 10:02:21,850 INFO [ServerImpl] Home URL: file:/C:/jboss-5.0.0.GA/ 10:02:21,850 INFO [ServerImpl] Library URL: file:/C:/jboss-5.0.0.GA/lib/ 10:02:21,850 INFO [ServerImpl] Patch URL: null 10:02:21,850 INFO [ServerImpl] Common Base URL: file:/C:/jboss-5.0.0.GA/common/ 10:02:21,850 INFO [ServerImpl] Common Library URL: file:/C:/jboss-5.0.0.GA/common/lib/ 10:02:21,850 INFO [ServerImpl] Server Name: default 10:02:21,850 INFO [ServerImpl] Server Base Dir: C:\jboss-5.0.0.GA\server 10:02:21,865 INFO [ServerImpl] Server Base URL: file:/C:/jboss-5.0.0.GA/server/ 10:02:21,865 INFO [ServerImpl] Server Config URL: file:/C:/jboss-5.0.0.GA/server/default/conf/ 10:02:21,865 INFO [ServerImpl] Server Home Dir: C:\jboss-5.0.0.GA\server\default 10:02:21,865 INFO [ServerImpl] Server Home URL: file:/C:/jboss-5.0.0.GA/server/default/ 10:02:21,865 INFO [ServerImpl] Server Data Dir: C:\jboss-5.0.0.GA\server\default\data 10:02:21,865 INFO [ServerImpl] Server Library URL: file:/C:/jboss-5.0.0.GA/server/default/lib/ 10:02:21,865 INFO [ServerImpl] Server Log Dir: C:\jboss-5.0.0.GA\server\default\log 10:02:21,865 INFO [ServerImpl] Server Native Dir: C:\jboss-5.0.0.GA\server\default\tmp\native 10:02:21,865 INFO [ServerImpl] Server Temp Dir: C:\jboss-5.0.0.GA\server\default\tmp 10:02:21,865 INFO [ServerImpl] Server Temp Deploy Dir: C:\jboss-5.0.0.GA\server\default\tmp\deploy 10:02:22,214 INFO [ServerImpl] Starting Microcontainer, bootstrapURL=file:/C:/jboss-5.0.0.GA/server/default/conf/bootstrap.xml 10:02:22,487 INFO [VFSCacheFactory] Initializing VFSCache [org.jboss.virtual.plugins.cache.IterableTimedVFSCache] 10:02:22,487 INFO [VFSCacheFactory] Using VFSCache [IterableTimedVFSCache{lifetime=1800, resolution=60}] 10:02:22,643 INFO [CopyMechanism] VFS temp dir: C:\jboss-5.0.0.GA\server\default\tmp 10:02:22,643 INFO [ZipEntryContext] VFS force nested jars copy-mode is enabled. 10:02:23,574 INFO [ServerInfo] Java version: 1.8.0_144,Oracle Corporation 10:02:23,574 INFO [ServerInfo] Java VM: Java HotSpot(TM) 64-Bit Server VM 25.144-b01,Oracle Corporation 10:02:23,574 INFO [ServerInfo] OS-System: Windows 10 10.0,amd64 10:02:23,590 INFO [JMXKernel] Legacy JMX core initialized 10:02:24,973 INFO [ProfileServiceImpl] Loading profile: default from: org.jboss.system.server.profileservice.repository.SerializableDeploymentRepository@61842590(root=C:\jboss-5.0.0.GA\server, key=org.jboss.profileservice.spi.ProfileKey@143b82c3[domain=default,server=default,name=default]) 10:02:24,973 INFO [ProfileImpl] Using repository:org.jboss.system.server.profileservice.repository.SerializableDeploymentRepository@61842590(root=C:\jboss-5.0.0.GA\server, key=org.jboss.profileservice.spi.ProfileKey@143b82c3[domain=default,server=default,name=default]) 10:02:24,973 INFO [ProfileServiceImpl] Loaded profile: ProfileImpl@1619ca3d{key=org.jboss.profileservice.spi.ProfileKey@143b82c3[domain=default,server=default,name=default]} 10:02:29,452 INFO [WebService] Using RMI server codebase: http://127.0.0.1:8083/ 10:02:33,786 INFO [NativeServerConfig] JBoss Web Services - Stack Native Core 10:02:33,786 INFO [NativeServerConfig] 3.0.4.SP1 10:02:44,016 INFO [JMXConnectorServerService] JMX Connector server: service:jmx:rmi://127.0.0.1/jndi/rmi://127.0.0.1:1090/jmxconnector 10:05:46,163 INFO [MailService] Mail Service bound to java:/Mail 10:05:47,141 WARN [JBossASSecurityMetadataStore] WARNING! POTENTIAL SECURITY RISK. It has been detected that the MessageSucker component which sucks messages from one node to another has not had its password changed from the installation default. Please see the JBoss Messaging user guide for instructions on how to do this. 10:05:47,141 WARN [AnnotationCreator] No ClassLoader provided, using TCCL: org.jboss.managed.api.annotation.ManagementComponent 10:05:47,251 INFO [TransactionManagerService] JBossTS Transaction Service (JTA version) - JBoss Inc. 10:05:47,251 INFO [TransactionManagerService] Setting up property manager MBean and JMX layer 10:05:47,440 INFO [TransactionManagerService] Initializing recovery manager 10:05:47,520 INFO [TransactionManagerService] Recovery manager configured 10:05:47,521 INFO [TransactionManagerService] Binding TransactionManager JNDI Reference 10:05:47,546 INFO [TransactionManagerService] Starting transaction recovery manager 10:05:47,952 INFO [Http11Protocol] Initializing Coyote HTTP/1.1 on http-127.0.0.1-8080 10:05:47,952 INFO [AjpProtocol] Initializing Coyote AJP/1.3 on ajp-127.0.0.1-8009 10:05:47,952 INFO [StandardService] Starting service jboss.web 10:05:47,952 INFO [StandardEngine] Starting Servlet Engine: JBoss Web/2.1.1.GA 10:05:47,968 INFO [Catalina] Server startup in 58 ms 10:05:47,984 INFO [TomcatDeployment] deploy, ctxPath=/web-console, vfsUrl=management/console-mgr.sar/web-console.war 10:05:48,958 INFO [TomcatDeployment] deploy, ctxPath=/jbossws, vfsUrl=jbossws.sar/jbossws-management.war 10:05:48,989 INFO [TomcatDeployment] deploy, ctxPath=/invoker, vfsUrl=http-invoker.sar/invoker.war 10:05:49,228 INFO [RARDeployment] Required license terms exist, view vfszip:/C:/jboss-5.0.0.GA/server/default/deploy/jboss-local-jdbc.rar/META-INF/ra.xml 10:05:49,321 INFO [RARDeployment] Required license terms exist, view vfszip:/C:/jboss-5.0.0.GA/server/default/deploy/jboss-xa-jdbc.rar/META-INF/ra.xml 10:05:49,384 INFO [RARDeployment] Required license terms exist, view vfszip:/C:/jboss-5.0.0.GA/server/default/deploy/jms-ra.rar/META-INF/ra.xml 10:05:49,531 INFO [RARDeployment] Required license terms exist, view vfszip:/C:/jboss-5.0.0.GA/server/default/deploy/mail-ra.rar/META-INF/ra.xml 10:05:49,594 INFO [RARDeployment] Required license terms exist, view vfszip:/C:/jboss-5.0.0.GA/server/default/deploy/quartz-ra.rar/META-INF/ra.xml 10:05:49,672 INFO [SimpleThreadPool] Job execution threads will use class loader of thread: main 10:05:49,688 INFO [QuartzScheduler] Quartz Scheduler v.1.5.2 created. 10:05:49,688 INFO [RAMJobStore] RAMJobStore initialized. 10:05:49,688 INFO [StdSchedulerFactory] Quartz scheduler 'DefaultQuartzScheduler' initialized from default resource file in Quartz package: 'quartz.properties' 10:05:49,688 INFO [StdSchedulerFactory] Quartz scheduler version: 1.5.2 10:05:49,688 INFO [QuartzScheduler] Scheduler DefaultQuartzScheduler_$_NON_CLUSTERED started. 10:05:50,047 INFO [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=DataSourceBinding,name=DefaultDS' to JNDI name 'java:DefaultDS' 10:05:50,464 WARN [QuartzTimerServiceFactory] sql failed: CREATE TABLE QRTZ_JOB_DETAILS(JOB_NAME VARCHAR(80) NOT NULL, JOB_GROUP VARCHAR(80) NOT NULL, DESCRIPTION VARCHAR(120) NULL, JOB_CLASS_NAME VARCHAR(128) NOT NULL, IS_DURABLE VARCHAR(1) NOT NULL, IS_VOLATILE VARCHAR(1) NOT NULL, IS_STATEFUL VARCHAR(1) NOT NULL, REQUESTS_RECOVERY VARCHAR(1) NOT NULL, JOB_DATA BINARY NULL, PRIMARY KEY (JOB_NAME,JOB_GROUP)) 10:05:50,480 INFO [SimpleThreadPool] Job execution threads will use class loader of thread: main 10:05:50,480 INFO [QuartzScheduler] Quartz Scheduler v.1.5.2 created. 10:05:50,480 INFO [JobStoreCMT] Using db table-based data access locking (synchronization). 10:05:50,480 INFO [JobStoreCMT] Removed 0 Volatile Trigger(s). 10:05:50,480 INFO [JobStoreCMT] Removed 0 Volatile Job(s). 10:05:50,480 INFO [JobStoreCMT] JobStoreCMT initialized. 10:05:50,480 INFO [StdSchedulerFactory] Quartz scheduler 'JBossEJB3QuartzScheduler' initialized from an externally provided properties instance. 10:05:50,495 INFO [StdSchedulerFactory] Quartz scheduler version: 1.5.2 10:05:50,495 INFO [JobStoreCMT] Freed 0 triggers from 'acquired' / 'blocked' state. 10:05:50,495 INFO [JobStoreCMT] Recovering 0 jobs that were in-progress at the time of the last shut-down. 10:05:50,495 INFO [JobStoreCMT] Recovery complete. 10:05:50,495 INFO [JobStoreCMT] Removed 0 'complete' triggers. 10:05:50,495 INFO [JobStoreCMT] Removed 0 stale fired job entries. 10:05:50,495 INFO [QuartzScheduler] Scheduler JBossEJB3QuartzScheduler_$_NON_CLUSTERED started. 10:05:50,707 INFO [ServerPeer] JBoss Messaging 1.4.1.GA server [0] started 10:05:50,754 INFO [QueueService] Queue[/queue/DLQ] started, fullSize=200000, pageSize=2000, downCacheSize=2000 10:05:50,769 WARN [ConnectionFactoryJNDIMapper] supportsFailover attribute is true on connection factory: jboss.messaging.connectionfactory:service=ClusteredConnectionFactory but post office is non clustered. So connection factory will *not* support failover 10:05:50,769 WARN [ConnectionFactoryJNDIMapper] supportsLoadBalancing attribute is true on connection factory: jboss.messaging.connectionfactory:service=ClusteredConnectionFactory but post office is non clustered. So connection factory will *not* support load balancing 10:05:50,801 INFO [ConnectionFactory] Connector bisocket://127.0.0.1:4457 has leasing enabled, lease period 10000 milliseconds 10:05:50,801 INFO [ConnectionFactory] org.jboss.jms.server.connectionfactory.ConnectionFactory@cbd98e3 started 10:05:50,801 INFO [ConnectionFactory] Connector bisocket://127.0.0.1:4457 has leasing enabled, lease period 10000 milliseconds 10:05:50,801 INFO [ConnectionFactory] org.jboss.jms.server.connectionfactory.ConnectionFactory@2d3a34ff started 10:05:50,801 INFO [QueueService] Queue[/queue/ExpiryQueue] started, fullSize=200000, pageSize=2000, downCacheSize=2000 10:05:50,801 INFO [ConnectionFactory] Connector bisocket://127.0.0.1:4457 has leasing enabled, lease period 10000 milliseconds 10:05:50,801 INFO [ConnectionFactory] org.jboss.jms.server.connectionfactory.ConnectionFactory@21fff299 started 10:05:50,847 INFO [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=ConnectionFactoryBinding,name=JmsXA' to JNDI name 'java:JmsXA' 10:05:52,424 INFO [TomcatDeployment] deploy, ctxPath=/MCloudServices-1.0, vfsUrl=MCloudServices-1.0.war 10:05:52,492 WARN [config] Unable to process deployment descriptor for context '/MCloudServices-1.0' 10:05:52,795 INFO [TomcatDeployment] deploy, ctxPath=/, vfsUrl=ROOT.war 10:05:52,888 INFO [TomcatDeployment] deploy, ctxPath=/jmx-console, vfsUrl=jmx-console.war 10:05:52,942 INFO [Http11Protocol] Starting Coyote HTTP/1.1 on http-127.0.0.1-8080 10:05:52,952 INFO [AjpProtocol] Starting Coyote AJP/1.3 on ajp-127.0.0.1-8009 10:05:52,983 INFO [ServerImpl] JBoss (Microcontainer) [5.0.0.GA (build: SVNTag=JBoss_5_0_0_GA date=200812041714)] Started in 3m:31s:118ms
POM.XML
<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
http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>MCloudServices</groupId>
<artifactId>MCloudServices</artifactId>
<version>1.0</version>
<packaging>war</packaging>
<build>
<plugins>
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.1</version>
<configuration>
<source>1.7</source>
<target>1.7</target>
</configuration>
</plugin>
<plugin>
<artifactId>maven-war-plugin</artifactId>
<version>2.3</version>
<configuration>
<warSourceDirectory>WebContent</warSourceDirectory>
<failOnMissingWebXml>false</failOnMissingWebXml>
</configuration>
</plugin>
</plugins>
</build>
<properties>
<springframework.version>4.1.9.RELEASE</springframework.version>
<hibernate.version>4.3.6.Final</hibernate.version>
<mysql.connector.version>5.0.4</mysql.connector.version>
<joda-time.version>2.3</joda-time.version>
<testng.version>6.9.4</testng.version>
</properties>
<dependencies>
<!-- Spring -->
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-core</artifactId>
<version>${springframework.version}</version>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-web</artifactId>
<version>${springframework.version}</version>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-webmvc</artifactId>
<version>${springframework.version}</version>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-tx</artifactId>
<version>${springframework.version}</version>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-orm</artifactId>
<version>${springframework.version}</version>
</dependency>
<!-- Hibernate -->
<dependency>
<groupId>org.hibernate</groupId>
<artifactId>hibernate-core</artifactId>
<version>${hibernate.version}</version>
</dependency>
<!-- jsr303 validation -->
<dependency>
<groupId>javax.validation</groupId>
<artifactId>validation-api</artifactId>
<version>1.1.0.Final</version>
</dependency>
<dependency>
<groupId>org.hibernate</groupId>
<artifactId>hibernate-validator</artifactId>
<version>5.1.3.Final</version>
</dependency>
<!-- MySQL -->
<dependency>
<groupId>mysql</groupId>
<artifactId>mysql-connector-java</artifactId>
<version>${mysql.connector.version}</version>
</dependency>
<!-- Joda-Time -->
<dependency>
<groupId>joda-time</groupId>
<artifactId>joda-time</artifactId>
<version>${joda-time.version}</version>
</dependency>
<!-- To map JodaTime with database type -->
<dependency>
<groupId>org.jadira.usertype</groupId>
<artifactId>usertype.core</artifactId>
<version>3.0.0.CR1</version>
</dependency>
<!-- Servlet+JSP+JSTL -->
<dependency>
<groupId>javax.servlet</groupId>
<artifactId>javax.servlet-api</artifactId>
<version>3.1.0</version>
</dependency>
<dependency>
<groupId>javax.servlet.jsp</groupId>
<artifactId>javax.servlet.jsp-api</artifactId>
<version>2.3.1</version>
</dependency>
<dependency>
<groupId>javax.servlet</groupId>
<artifactId>jstl</artifactId>
<version>1.2</version>
</dependency>
<!-- Testing dependencies -->
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-test</artifactId>
<version>${springframework.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.testng</groupId>
<artifactId>testng</artifactId>
<version>${testng.version}</version>
<scope>test</scope>
</dependency>
<!-- Json dependency -->
<dependency>
<groupId>org.json</groupId>
<artifactId>json</artifactId>
<version>20180130</version>
</dependency>
<!-- https://mvnrepository.com/artifact/com.googlecode.json-simple/json-simple -->
<dependency>
<groupId>com.googlecode.json-simple</groupId>
<artifactId>json-simple</artifactId>
<version>1.1</version>
</dependency>
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-databind</artifactId>
<version>2.5.3</version>
</dependency>
<!-- https://mvnrepository.com/artifact/commons-io/commons-io -->
<dependency>
<groupId>commons-io</groupId>
<artifactId>commons-io</artifactId>
<version>2.5</version>
</dependency>
</dependencies>
</project>
最佳答案
试着把 jboss-web.xml
根据您的WEB-INF
文件夹:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE jboss-web PUBLIC "-//JBoss//DTD Web Application 2.4//EN" "http://www.jboss.org/j2ee/dtd/jboss-web_4_0.dtd">
<jboss-web>
<context-root>yourWebappContextRoot</context-root>
</jboss-web>
关于spring-mvc - Tomcat 部署的 war 未部署在 JBoss 上,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/49165988/
当我尝试从 netbeans 构建 ear 项目时,为什么 maven ear 插件会运行 war:war(插件目标) 我的过程: 我右键单击 ear 项目(其中列出了 war 依赖项)并首先清理,然
在 Java EE 环境下,我构建了一个包含多个 JSP 文件的网页。让我们假设包含的 JSP 之一是 header.jsp。可以与 Stackoverflow 使用的非常相似,显示有关用户、链接等的
我想知道使用 maven package phase 创建的 war 文件是否等同于使用 maven war plugin war:war goal 创建的 war 文件。 假设我们有一个像这样的 p
按照目前的情况,这个问题不适合我们的问答形式。我们希望答案得到事实、引用或专业知识的支持,但这个问题可能会引发辩论、争论、投票或扩展讨论。如果您觉得这个问题可以改进并可能重新打开,visit the
我想根据配置文件(dev 或 prod)配置属性文件,但是属性文件的位置未正确构造。我在 SO 上找到了类似问题的答案,但这些答案都没有帮助解决这个问题。 我收到的错误如下: Error loadin
我想知道部署的“WAR”文件会分解到 JBoss 7 中的哪个位置?在 JBoss 4.3 中,它会在“tmp”文件夹中的某处爆炸,但我无法找到它在 JBoss 7 中爆炸到的位置。谢谢 最佳答案 它
我想创建一个多模块项目,其中多个模块属于 war 类型。例如 somejars servletsAndJsps springMVCapp angularJsApp 其中 3 个可以作为 WAR 应用程
我必须在单元测试期间测试托管在 Tomcat 上的 Web 服务的代码覆盖率。我将进行手动测试意味着我将在我的 http 请求中传递不同的参数值,并且需要为发送到服务器的每个请求的每个测试用例提供覆盖
我是一个 Jboss Wildfly 8.2 实例我有一个 webapp ROOT.war和另一个 OTHER.war我需要类(class) OtherXYZ.class那是里面 OTHER.war能
因此,在 VPS Ubuntu 服务器上尝试使用 Maven 进行全新安装时出现此错误。 我已经安装了必要的元素来制作它,但仍然无济于事。 root@iHRS:~/hapi-fhir-jpaserve
健身download page只有 standalone.jar 选项,这也是说明的目的。 是否有可能在单独的应用程序服务器上安装 FitNesse,例如 Tomcat?没有直接下载任何 war /耳
我想在 JBoss 4.2 中部署一场 war ,但我无法控制它的目录,所以我无法替换 jsf-impl.jar和 jsf-api.jar . 我的问题是:如何配置war才能依赖于jsf-impl.j
我想在将 war 任务输出部署到存储库之前设置它的文件名。 例如项目名称是 abc最初它会导致 abc-1.0.0-SNAPSHOT.war 但我希望应该有两个生成的内容相同的 war 文件: def
我有一个 Maven pom,它使用 war 。但实际上,我不想构建 war 文件,我只想收集所有依赖的 jar 并创建一个完整的部署目录。 所以我正在运行 war:exploded生成部署目录的目标
注意:我无法将它们打包到 EAR 中。这里有一些限制。 我有 2 个 war 文件。 help.war 和 helpConnect.war 两者都放置在 GlassFish 服务器的同一域中。 从 h
我有一个项目,其中 3 个 war-modules 被打包在一个 ear-module 中。我的问题是每个库 jar 都包含在每个 war 模块以及 ear 模块中,这使得生成的 ear 文件非常大(
我有一个在 artifactory 中发布的第三方打包 war 。我需要创建一个 gradle 作业,它将从 artifactory 中获取 war,将其分解到一个临时目录,将一些自定义库(jars)
我们有一个运行当前 Web 服务的 Apache tomcat 服务器。我们试图部署第二个版本(进行了一些调整),但是当我们复制 war 文件时,第一个版本停止工作。为什么?? 最佳答案 您的 Web
我有几个 tomcat 应用程序,使用 .war 文件部署在 tomcat 中。尽管这些 war 彼此独立,但它们都是更大概念/应用程序的一部分,而且经常,一场 war 需要调用另一场 war 的代码
过去,Web 应用程序的静态资源始终位于 src/main/webapp 下。 最近,Spring Initializr为我创建了一个新的项目布局,因此发现资源应该位于src/main/resourc
我是一名优秀的程序员,十分优秀!