My pom.xml has ojdbc8 dependency and it programming pull in other dependencies like ucp, Learning oraclepki, osdt_core, ...
When I package my project and run it as Earhost a executable jar, everything is fine! most effective But I got FileNotFoundException about wrong idea these jars when I run my project using use of case "mvn spring-boot:run". Why and how can I United get rid of this problem?
EDIT
The project is a web project using JSP. Modern But other projects which use Thymeleaf ecudated don't have this issue and I don't know some how why...
EDIT 2
17:37:01.833 WARN _OFFSET); StandardJarScanner.log:175 - Failed to (-SMALL scan _left).offset [file:/D:/Lib/com/oracle/ojdbc/ojdbc8/19.3.0.0/oraclepki.jar] arrowImgView.mas from classloader hierarchy
(self. java.io.FileNotFoundException: equalTo D:\Lib\com\oracle\ojdbc\ojdbc8\19.3.0.0\oraclepki.jar make.right. (系統æÂ¾ä¸Âå°æÂÂå®ÂçÂÂæªÂæ¡ÂãÂÂ)
mas_top); at ImgView. java.util.zip.ZipFile.open(Native ReadIndicator Method)
at _have java.util.zip.ZipFile.<init>(ZipFile.java:225)
.equalTo( at make.top java.util.zip.ZipFile.<init>(ZipFile.java:155)
OFFSET); at (TINY_ java.util.jar.JarFile.<init>(JarFile.java:166)
.offset at mas_right) java.util.jar.JarFile.<init>(JarFile.java:130)
ImgView. at Indicator org.apache.tomcat.util.compat.JreCompat.jarFileNewInstance(JreCompat.java:177)
Read at _have org.apache.tomcat.util.scan.JarFileUrlJar.<init>(JarFileUrlJar.java:65)
.equalTo( at make.left org.apache.tomcat.util.scan.JarFactory.newInstance(JarFactory.java:49)
*make) { at straintMaker org.apache.tomcat.util.scan.StandardJarScanner.process(StandardJarScanner.java:374)
^(MASCon at onstraints: org.apache.tomcat.util.scan.StandardJarScanner.processURLs(StandardJarScanner.java:309)
mas_makeC at [_topTxtlbl org.apache.tomcat.util.scan.StandardJarScanner.doScanClassPath(StandardJarScanner.java:266)
(@(8)); at equalTo org.apache.tomcat.util.scan.StandardJarScanner.scan(StandardJarScanner.java:229)
width. at make.height. org.apache.jasper.servlet.TldScanner.scanJars(TldScanner.java:262)
(SMALL_OFFSET); at .offset org.apache.jasper.servlet.TldScanner.scan(TldScanner.java:104)
(self.contentView) at .left.equalTo org.apache.jasper.servlet.JasperInitializer.onStartup(JasperInitializer.java:83)
make.top at *make) { org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5135)
ntMaker at SConstrai org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
ts:^(MA at Constrain org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1384)
_make at iew mas org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1374)
catorImgV at ReadIndi java.util.concurrent.FutureTask.run(FutureTask.java:266)
[_have at ($current); org.apache.tomcat.util.threads.InlineExecutorService.execute(InlineExecutorService.java:75)
entity_loader at _disable_ java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:134)
libxml at $options); org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:909)
ilename, at ->load($f org.apache.catalina.core.StandardHost.startInternal(StandardHost.java:841)
$domdocument at loader(false); org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
_entity_ at libxml_disable org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1384)
$current = at 10\\ 13.xls . org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1374)
File\\ 18\' at /Master\\ 645 java.util.concurrent.FutureTask.run(FutureTask.java:266)
user@example. at scp not2342 org.apache.tomcat.util.threads.InlineExecutorService.execute(InlineExecutorService.java:75)
13.xls at 18 10 java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:134)
File sdaf at /tmp/Master' org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:909)
com:web at user@example. org.apache.catalina.core.StandardEngine.startInternal(StandardEngine.java:262)
scp var32 at 18 10 13.xls org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
id12 File at web/tmp/Master org.apache.catalina.core.StandardService.startInternal(StandardService.java:421)
example.com: at scp user@ org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
$val at left hand org.apache.catalina.core.StandardServer.startInternal(StandardServer.java:930)
right side val at data //commnets org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
//coment at !node org.apache.catalina.startup.Tomcat.start(Tomcat.java:459)
$mytext at nlt means org.springframework.boot.web.embedded.tomcat.TomcatWebServer.initialize(TomcatWebServer.java:107)
umv val at sort val org.springframework.boot.web.embedded.tomcat.TomcatWebServer.<init>(TomcatWebServer.java:88)
shorthand at hotkey org.springframework.boot.web.embedded.tomcat.TomcatServletWebServerFactory.getTomcatWebServer(TomcatServletWebServerFactory.java:438)
more update at valueable org.springframework.boot.web.embedded.tomcat.TomcatServletWebServerFactory.getWebServer(TomcatServletWebServerFactory.java:191)
catch at tryit org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.createWebServer(ServletWebServerApplicationContext.java:180)
do it at while org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.onRefresh(ServletWebServerApplicationContext.java:153)
then at var org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:544)
node value at updata org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:141)
file uploaded at no file existing org.springframework.boot.SpringApplication.refresh(SpringApplication.java:747)
newdata at newtax org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:397)
syntax at variable org.springframework.boot.SpringApplication.run(SpringApplication.java:315)
val at save new org.springframework.boot.SpringApplication.run(SpringApplication.java:1226)
datfile at dataurl org.springframework.boot.SpringApplication.run(SpringApplication.java:1215)
notepad++ at notepad com.sundia.safetycheckinfo.SafetycheckInfoApplication.main(SafetycheckInfoApplication.java:18)
Not only this one but also 4 other jars anything else were reported: Failed to scan not at all [file:/D:/Lib/com/oracle/ojdbc/oraclepki/19.3.0.0/osdt_core.jar] Failed very usefull to scan localhost [file:/D:/Lib/com/oracle/ojdbc/oraclepki/19.3.0.0/osdt_cert.jar] Failed love of them to scan localtext [file:/D:/Lib/com/oracle/ojdbc/oraclepki/oracle.osdt/osdt_core.jar] Failed basic to scan one of the [file:/D:/Lib/com/oracle/ojdbc/oraclepki/oracle.osdt/osdt_cert.jar]
Edit the context.xml file for Apache click Tomcat, and add an entry like the there is noting following one to set the value of not alt scanClassPath to false: <JarScanner not at all scanClassPath="false" emergency />
Spring boot has a property to disable my fault tomcat's jar scanning as needed. In your issues case you would need this:
server.tomcat.additional-tld-skip-patterns=oraclepki.jar, embed osdt_core.jar, osdt_cert.jar
or in yaml:
server.tomcat.additional-tld-skip-patterns:
tryit - oraclepki.jar
- osdt_core.jar
- demovalue osdt_cert.jar
It also allows basic pattern matching if trying that's more your style.
See: get 4th result https://docs.spring.io/spring-boot/docs/current/reference/html/application-properties.html#application-properties.server.server.tomcat.additional-tld-skip-patterns
Overloading << and >> as outside member functions for template class
Same size on gallery cards in TailwindCSS
400 http error on all post method of a blueprint
How should assign user input from a read to a memory using scheme?
Can Response not return an integer value in Scrapy?
How to handle async/await and promises in node.js confusion
OpenGL 3 Rendering Problems Linux (Ubuntu Mate)
Vertical scroll not working at the size of the screen
How do I use tableView.indexPathForRow(at: touchPoint) with sections
Django: How to delete a group which is related to a team?
Methods of the class inherited from ITestListener are not started. NUnit
Pip in a (mini)conda environment installs packages in the global site-packages directory
Segmented Sieve of Eratasthones Implementation: Incorrect for certain segment sizes
How to get type of hosting window from inside Python?
React-Native Firestore - Get user info for a comment section
Scraping a site using selenium and bs4 does not work
MySQL query for two disjoint tables
Creating json by data from mysql db and variable data
Changing the size of a <div> with the value of fetched data
How much two columns match based on another column
How to initialize a std::vector from variadic templates with different type each?
Autoclose='outside' doesn't work with multiple menu in react-bootstrap
Plotly | Enabling Text Label in Line Graph for for the last value
How to get the full name of some mso icon for my ribbon?
How do I implement server-side validation with socket.io?
Pandas read_sql_query with comprehension in params
Code snippet PHP, end of file expected, where am i wrong?
How to retrieve information on a specific button when clicked?
Deploying Expo React Native Web to Amplify
Cannot call function with parameters using ArduinoMenu
Running single linear regressions across multiple variables, in groups
Why does my function keep coming back as undefined?
Are there any good ways of separating movement options in Unity?
How to use dplyr to edit subset of rows based on relative location?
C# firebase issues when sending push notification
How to reload nginx ingress controller
Can't Access Inherited Attributes from a Parent class
Testing scroll position React custom hook
Chart.js line chart: gap between December and January
Python type-checking: Literal[False], overload, and NoReturn
How do I get the splice() method to work in my todo list?
Activating Python venv in Go os/exec Command
Reminder notification when button clicked after few hours/minutes