Home > Back-end >  About the CAS Server service launch related question FileNotFoundException:/etc/CAS/thekeystore (sys
About the CAS Server service launch related question FileNotFoundException:/etc/CAS/thekeystore (sys

Time:10-04

Start the cas service encounter a problem, don't say much, direct mapping,
The project content as follows:


Then start the cas with the build. CMD to run when they reported under Caused by: Java. IO. FileNotFoundException:/etc/cas/thekeystore (the system cannot find the specified file,)


Reason is loaded in the maven war file inside of the configuration, without bosses help grows a new look

CodePudding user response:

The demo is a reference to this blog, https://blog.csdn.net/qq_35618489/article/details/88186959 is done

CodePudding user response:

Emmm, embarrassed, nearly 100 view 0 reply

CodePudding user response:

Question is like this, I set up a local cas service, according to Syria's blog on the steps, the rest do not have what problem, by using the command line to start the cas service, load startup configuration file is in the war file configuration, no loading configuration url in my project,

CodePudding user response:

Cas operation with plate need a etc directory under

Like my project running in D dish in one directory, you need etc files, as shown, are there in this directory in your project a copy

CodePudding user response:

Start up or cas application, do not use the cas build. In the CMD command

CodePudding user response:

But I'm in the same directory structure pass a thekeystore file, no effect, after I tried to use the startup cas application
  • Related