我新尝试了嵌入式tomcat版本8.0.15。将Maven依赖项下载到我的项目中。
创建必要的上下文和实例。Tomcat服务器正常运行。但是我收到以下警告
Jun 17, 2017 9:50:44 PM org.apache.tomcat.util.scan.StandardJarScanner scan
WARNING: Failed to scan [file:/C:/Users/raghavender.n/.m2/repository/xalan/xalan/2.7.2/xercesImpl.jar] from classloader hierarchy
java.io.FileNotFoundException:C:\Users\raghavender.n\.m2\repository\xalan\xalan\2.7.2\xercesImpl.jar (The system cannot find the file specified)
WARNING: Failed to scan [file:/C:/Users/raghavender.n/.m2/repository/xalan/xalan/2.7.2/xml-apis.jar] from classloader hierarchy
java.io.FileNotFoundException: C:\Users\raghavender.n\.m2\repository\xalan\xalan\2.7.2\xml-apis.jar (The system cannot find the file specified)
<!-- https://mvnrepository.com/artifact/org.apache.tomcat.embed/tomcat-embed-core -->
<dependency>
<groupId>org.apache.tomcat.embed</groupId>
<artifactId>tomcat-embed-core</artifactId>
<version>8.5.15</version>
</dependency>
Run Code Online (Sandbox Code Playgroud)
如何禁用/避免来自嵌入式tomcat jar的警告?
我遇到了文件存储和块存储,并根据我的理解进行了探索,结果如下:
块级存储
答:需要一个单独的卷和一个操作系统,它将作为一个单独的硬盘安装在其上,并可以用来存储原始文件。
B.用于服务器端,以提高性能。
C.有自己的备份软件,等等。
D.它使用光纤通道和iSCSI通信进行访问。
E.它无法访问内部的任何内容,而只是数据块。
文件级存储
答:文件级存储不需要单独的OS即可运行。
B.选择它是为了容量而不是性能。
C.它没有自己的单独备份软件。
D.是通过NAS等完成的文件访问系统…
基于上述,我的问题是:
块级存储问题:
答:块级存储只是无法访问文件的裸机存储,所以为什么它需要一个单独的OS,因为OS还将具有文件管理系统,因此它将变得更加杂乱无章,同时具有文件和块存储选项?
B.如果上述情况成立,那么SSD和SATA硬盘是块存储设备吗?
C.如果上述情况是正确的,那么由于SSD和其他原因,块级存储也会出现在用户端,那为什么只在服务器端使用它?
D.为什么我们无法访问其中的任何文件,为什么需要备份软件?
文件级存储问题:
答:文件存储如何不需要单独的软件即可运行?
B.如果您可以访问其中的文件并且可以修改,读取和写入文件,那么为什么不存在备份软件?
C.就像我们在Mac OS X上拥有finder一样,它也是文件级存储,可以用来管理文件吗?
请澄清以上问题,并让我知道我错了。