如果想在tomcat服务器启动时将jar包加载到内存,且该jar包可以被tomcat服务器上所有的应用使用,应该将该jar包复制到tomcat的()目录。
第1题:
A、Spring Boot所创建的应用程序都是独立的War包,而不是Jar包
B、Spring Boot项目不需要将WAR包部署到Tomcat、Jetty等Servlet容器中,而是在启动时,自动的启动一个嵌入式的Tomcat
C、Spring Boot与其他主流框架整合时,只需在pom.xml中添加相应依赖,即可直接使用该框架,无需在项目的配置文件中添加配置
D、Spring Boot会根据类路径中的类和JAR包中的类自动配置Bean,而不需要手动配置
第2题:
A.新建一个公共模块
B.扩展jar包
C.要使用引入jar包时,要先依赖公共模块
D.在这个公共模块里引入第三方jar包
第3题:
下列( )类属于java.util.jar 包。
A.GZIPInputStream
B.ZipInputStream
C.JarInputSream
D.InflaterlnputStream
第4题:
使用数据源时,数据库驱动程序的.jar文件应该放在()。
第5题:
A.jar –c
B.jar –x
C.jar –v
D.jar -f
第6题:
Click the Exhibit button. Given the fully-qualified class names: com.foo.bar.Dog com.foo.bar.blatz.Book com.bar.Car com.bar.blatz.Sun Which graph represents the correct directory structure for a JAR file from which those classes can be used by the compiler and JVM? ()
A.Jar A
B.Jar B
C.Jar C
D.Jar D
E.Jar E
第7题:
A.logs
B.License
C.lib
D.config
第8题:
A、common
B、Server
C、common\lib
D、server\lib
第9题:
maven加载jar包是通过pom.xml文件中的groupId,artifactId,version来进行jar包查找的
第10题:
A developer is creating a class Book that needs to access class Paper.The Paper class is deployed in a JARnamedmyLib.jar.Whichthree,taken independently,will allow the developer to use the Paper class while compiling the Book class?()