Shiro异常:java.lang.IllegalArgumentException: Line argument must contain a key and a value. Only one
来源:互联网 发布:sql 多个case when 编辑:程序博客网 时间:2024/06/06 15:48
java.lang.IllegalArgumentException: Line argument must contain a key and a value. Only one string token was found.at org.apache.shiro.config.Ini$Section.splitKeyValue(Ini.java:542)at org.apache.shiro.config.Ini$Section.toMapProps(Ini.java:567)at org.apache.shiro.config.Ini$Section.<init>(Ini.java:464)at org.apache.shiro.config.Ini$Section.<init>(Ini.java:445)at org.apache.shiro.config.Ini.addSection(Ini.java:302)at org.apache.shiro.config.Ini.load(Ini.java:351)at org.apache.shiro.config.Ini.load(Ini.java:287)at org.apache.shiro.config.Ini.load(Ini.java:275)at org.apache.shiro.config.Ini.loadFromPath(Ini.java:244)at org.apache.shiro.config.Ini.fromResourcePath(Ini.java:225)at org.apache.shiro.config.IniSecurityManagerFactory.<init>(IniSecurityManagerFactory.java:69)at com.luobaolin.shiro.chapter1.LoginLogoutTest.login(LoginLogoutTest.java:24)at com.luobaolin.shiro.chapter1.LoginLogoutTest.testHelloworld(LoginLogoutTest.java:19)at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)at java.lang.reflect.Method.invoke(Method.java:597)at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44)at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41)at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31)at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:263)at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:69)at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:48)at org.junit.runners.ParentRunner$3.run(ParentRunner.java:231)at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:60)at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:229)at org.junit.runners.ParentRunner.access$000(ParentRunner.java:50)at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:222)at org.junit.runners.ParentRunner.run(ParentRunner.java:292)at org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:50)at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:467)at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:683)at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:390)at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:197)
出现这种原因:有可能是shiro.ini文件保存格式不是ANSI格式导致的
阅读全文
0 0
- Shiro异常:java.lang.IllegalArgumentException: Line argument must contain a key and a value. Only one
- Shiro异常1:java.lang.IllegalArgumentException: Line argument must contain a key and a value. Only one
- Shiro异常 : IllegalArgumentException: Line argument must contain a key and a value. Only one
- 学习shiro代码报错:Line argument must contain a key and a value. Only one string token was found.
- 学习shiro代码报错:Line argument must contain a key and a value. Only one string token was found.
- 1075 - Incorrect table definition;there can be only one auto column and it must be defined as a key
- Incorrect table definition; there can be only one auto column and it must be defined as a key
- MySQL 数据表创建报错:there can be only one auto column and it must be defined as a key
- 1075-Incorrect table definition;there can be only one auto column and it must be defined as a key
- MyBatis异常java.lang.IllegalArgumentException: Mapped Statements collection does not contain value for
- java.lang.IllegalArgumentException: Mapped Statements collection does not contain value for异常
- MyBatis异常java.lang.IllegalArgumentException: Mapped Statements collection does not contain value for
- The app's Info.plist must contain an NSPhotoLibraryUsageDescription key with a string value explaini
- Android异常总结---res\layout\addUser.xml: Invalid file name: must contain only [a-z
- android异常:res\layout\activity_printFile.xml: Invalid file name: must contain only [a-z0-9_.]
- Android异常总结---res\layout\addUser.xml: Invalid file name: must contain only [a-z
- Android异常总结---res\layout\addUser.xml: Invalid file name: must contain only [a-z
- Error:Error: Invalid file name: must contain only lowercase letters and digits ([a-z0-9_.])
- Qt Creator快捷键
- UEFI 双启动情况下禁用 GRUB 的启动菜单
- [LeetCode] 4. Longest Palindrome Substring 分析+代码
- tensorflow基础使用4
- 超级读入挂
- Shiro异常:java.lang.IllegalArgumentException: Line argument must contain a key and a value. Only one
- ubuntu Qt5环境变量设置
- 足球赛确定淘汰赛名单-map<string, int>问题
- 在网页上动态显示当前时间
- HDU 1029 Ignatius and the Princess IV 水题
- Java导入Excel数据方法
- 删除列表中重复值1
- 【XSY1596】旅行 期望DP
- java中常见的I/O流总结