Where is your axis war deployed? Don't put in a folder where parent folder is protected or has spaces like Program files.
Can make a folder like c:\j\tomcat Put tomcat, put exploded war, in there web-inf...copy aar file. On Fri, 18 Oct, 2019, 19:24 albert kao, <albertk...@gmail.com> wrote: > How to put the aar file in the WEB-INF/services directory manually without > the admin console? > > On Thu, Oct 17, 2019 at 9:44 AM robertlazarski . <robertlazar...@gmail.com> > wrote: > >> That is very similar to my server environments though I don't use the >> admin console. Been a while since I looked at that tutorial. Do you see any >> server side logs that would shed more light on the problem? >> >> The main idea is that you need to put the aar file in the >> WEB-INF/services directory. You can do that manually without the admin >> console for now as I don't know what the fix there is yet. >> >> Regards, >> Robert >> >> >> >> On Wed, Oct 16, 2019 at 1:43 AM albert kao <albertk...@gmail.com> wrote: >> >>> I am learning axis2 by doing the "POJO Web Services using Apache Axis2". >>> WeatherService.aar was built successfully. >>> >>> I set the path to the WeatherService.aar in the Administration Console. >>> Then I click the upload icon. >>> The "No valid CSRF token found in request" message appear in the web >>> browser. >>> >>> >>> I completed the Axis2 Quick Start Guide successfully so my >>> configurations are correct. >>> >>> My configurations are: >>> axis2-1.7.9 Binary distribution. >>> axis2.war is built >>> Apache Ant(TM) version 1.10.1 >>> wildfly-15.0.1.Final >>> Apache Maven 3.6.0 >>> Java version: 1.8.0_202 >>> linux mint 18.3 >>> Default locale: en_CA, platform encoding: UTF-8 >>> OS name: "linux", version: "4.10.0-38-generic", arch: "amd64", family: >>> "unix" >>> >>>