人员定位
							parent
							
								
									d4ae1c385d
								
							
						
					
					
						commit
						df3c2fa9ee
					
				|  | @ -0,0 +1,218 @@ | ||||||
|  | # | ||||||
|  | # There is insufficient memory for the Java Runtime Environment to continue. | ||||||
|  | # Native memory allocation (malloc) failed to allocate 222816 bytes for Chunk::new | ||||||
|  | # Possible reasons: | ||||||
|  | #   The system is out of physical RAM or swap space | ||||||
|  | #   The process is running with CompressedOops enabled, and the Java Heap may be blocking the growth of the native heap | ||||||
|  | # Possible solutions: | ||||||
|  | #   Reduce memory load on the system | ||||||
|  | #   Increase physical memory or swap space | ||||||
|  | #   Check if swap backing store is full | ||||||
|  | #   Decrease Java heap size (-Xmx/-Xms) | ||||||
|  | #   Decrease number of Java threads | ||||||
|  | #   Decrease Java thread stack sizes (-Xss) | ||||||
|  | #   Set larger code cache with -XX:ReservedCodeCacheSize= | ||||||
|  | #   JVM is running with Zero Based Compressed Oops mode in which the Java heap is | ||||||
|  | #     placed in the first 32GB address space. The Java Heap base address is the | ||||||
|  | #     maximum limit for the native heap growth. Please use -XX:HeapBaseMinAddress | ||||||
|  | #     to set the Java Heap base and to place the Java Heap above 32GB virtual address. | ||||||
|  | # This output file may be truncated or incomplete. | ||||||
|  | # | ||||||
|  | #  Out of Memory Error (allocation.cpp:390), pid=21732, tid=0x0000000000001d68 | ||||||
|  | # | ||||||
|  | # JRE version: Java(TM) SE Runtime Environment (8.0_192-b12) (build 1.8.0_192-b12) | ||||||
|  | # Java VM: Java HotSpot(TM) 64-Bit Server VM (25.192-b12 mixed mode windows-amd64 compressed oops) | ||||||
|  | # Failed to write core dump. Minidumps are not enabled by default on client versions of Windows | ||||||
|  | # | ||||||
|  | 
 | ||||||
|  | ---------------  T H R E A D  --------------- | ||||||
|  | 
 | ||||||
|  | Current thread (0x000000001e877000):  JavaThread "C2 CompilerThread1" daemon [_thread_in_native, id=7528, stack(0x000000001f1c0000,0x000000001f2c0000)] | ||||||
|  | 
 | ||||||
|  | Stack: [0x000000001f1c0000,0x000000001f2c0000] | ||||||
|  | [error occurred during error reporting (printing stack bounds), id 0xc0000005] | ||||||
|  | 
 | ||||||
|  | Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code) | ||||||
|  | 
 | ||||||
|  | 
 | ||||||
|  | Current CompileTask: | ||||||
|  | C2:    570  563 %     4       sun.nio.cs.UTF_8$Decoder::decode @ 20 (779 bytes) | ||||||
|  | 
 | ||||||
|  | 
 | ||||||
|  | ---------------  P R O C E S S  --------------- | ||||||
|  | 
 | ||||||
|  | Java Threads: ( => current thread ) | ||||||
|  |   0x000000001e919000 JavaThread "Service Thread" daemon [_thread_blocked, id=42376, stack(0x000000001f4c0000,0x000000001f5c0000)] | ||||||
|  |   0x000000001e882000 JavaThread "C1 CompilerThread3" daemon [_thread_blocked, id=42792, stack(0x000000001f3c0000,0x000000001f4c0000)] | ||||||
|  |   0x000000001e87d800 JavaThread "C2 CompilerThread2" daemon [_thread_blocked, id=35264, stack(0x000000001f2c0000,0x000000001f3c0000)] | ||||||
|  | =>0x000000001e877000 JavaThread "C2 CompilerThread1" daemon [_thread_in_native, id=7528, stack(0x000000001f1c0000,0x000000001f2c0000)] | ||||||
|  |   0x000000001e876000 JavaThread "C2 CompilerThread0" daemon [_thread_blocked, id=13828, stack(0x000000001f0c0000,0x000000001f1c0000)] | ||||||
|  |   0x000000001e873800 JavaThread "Monitor Ctrl-Break" daemon [_thread_in_native, id=42772, stack(0x000000001efc0000,0x000000001f0c0000)] | ||||||
|  |   0x000000001e7fa800 JavaThread "Attach Listener" daemon [_thread_blocked, id=37452, stack(0x000000001eec0000,0x000000001efc0000)] | ||||||
|  |   0x000000001e7f8000 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=20612, stack(0x000000001edc0000,0x000000001eec0000)] | ||||||
|  |   0x000000001e7e1000 JavaThread "Finalizer" daemon [_thread_blocked, id=14560, stack(0x000000001ecc0000,0x000000001edc0000)] | ||||||
|  |   0x0000000003158800 JavaThread "Reference Handler" daemon [_thread_blocked, id=16868, stack(0x000000001ebc0000,0x000000001ecc0000)] | ||||||
|  |   0x0000000003063800 JavaThread "main" [_thread_in_vm, id=42864, stack(0x0000000002d80000,0x0000000002e80000)] | ||||||
|  | 
 | ||||||
|  | Other Threads: | ||||||
|  |   0x000000001c9f8000 VMThread [stack: 0x000000001e6c0000,0x000000001e7c0000] [id=13340] | ||||||
|  |   0x000000001e970000 WatcherThread [stack: 0x000000001f5c0000,0x000000001f6c0000] [id=43464] | ||||||
|  | 
 | ||||||
|  | VM state:not at safepoint (normal execution) | ||||||
|  | 
 | ||||||
|  | VM Mutex/Monitor currently owned by a thread: None | ||||||
|  | 
 | ||||||
|  | heap address: 0x00000006c4200000, size: 4030 MB, Compressed Oops mode: Zero based, Oop shift amount: 3 | ||||||
|  | Narrow klass base: 0x0000000000000000, Narrow klass shift: 3 | ||||||
|  | Compressed class space size: 1073741824 Address: 0x00000007c0000000 | ||||||
|  | 
 | ||||||
|  | Heap: | ||||||
|  |  PSYoungGen      total 75264K, used 29705K [0x000000076c100000, 0x0000000771500000, 0x00000007c0000000) | ||||||
|  |   eden space 64512K, 46% used [0x000000076c100000,0x000000076de02540,0x0000000770000000) | ||||||
|  |   from space 10752K, 0% used [0x0000000770a80000,0x0000000770a80000,0x0000000771500000) | ||||||
|  |   to   space 10752K, 0% used [0x0000000770000000,0x0000000770000000,0x0000000770a80000) | ||||||
|  |  ParOldGen       total 172032K, used 0K [0x00000006c4200000, 0x00000006cea00000, 0x000000076c100000) | ||||||
|  |   object space 172032K, 0% used [0x00000006c4200000,0x00000006c4200000,0x00000006cea00000) | ||||||
|  |  Metaspace       used 8414K, capacity 8584K, committed 8832K, reserved 1058816K | ||||||
|  |   class space    used 1003K, capacity 1052K, committed 1152K, reserved 1048576K | ||||||
|  | 
 | ||||||
|  | Card table byte_map: [0x0000000012520000,0x0000000012d00000] byte_map_base: 0x000000000eeff000 | ||||||
|  | 
 | ||||||
|  | Marking Bits: (ParMarkBitMap*) 0x0000000075013ce0 | ||||||
|  |  Begin Bits: [0x0000000013a40000, 0x0000000017938000) | ||||||
|  |  End Bits:   [0x0000000017938000, 0x000000001b830000) | ||||||
|  | 
 | ||||||
|  | Polling page: 0x0000000001180000 | ||||||
|  | 
 | ||||||
|  | CodeCache: size=245760Kb used=2609Kb max_used=2619Kb free=243151Kb | ||||||
|  |  bounds [0x0000000003160000, 0x0000000003400000, 0x0000000012160000] | ||||||
|  |  total_blobs=890 nmethods=563 adapters=240 | ||||||
|  |  compilation: enabled | ||||||
|  | 
 | ||||||
|  | Compilation events (10 events): | ||||||
|  | Event: 0.559 Thread 0x000000001e882000  559       3       java.util.TreeMap$PrivateEntryIterator::hasNext (13 bytes) | ||||||
|  | Event: 0.560 Thread 0x000000001e882000 nmethod 559 0x00000000033e8290 code [0x00000000033e83e0, 0x00000000033e8590] | ||||||
|  | Event: 0.560 Thread 0x000000001e87d800 nmethod 553 0x00000000033ea550 code [0x00000000033ea6a0, 0x00000000033ea8f8] | ||||||
|  | Event: 0.560 Thread 0x000000001e882000  560       3       java.lang.ClassLoader::preDefineClass (109 bytes) | ||||||
|  | Event: 0.561 Thread 0x000000001e882000 nmethod 560 0x00000000033ec2d0 code [0x00000000033ec5a0, 0x00000000033edae8] | ||||||
|  | Event: 0.561 Thread 0x000000001e882000  561       3       java.util.TreeMap$PrivateEntryIterator::<init> (28 bytes) | ||||||
|  | Event: 0.561 Thread 0x000000001e882000 nmethod 561 0x00000000033ea0d0 code [0x00000000033ea240, 0x00000000033ea450] | ||||||
|  | Event: 0.563 Thread 0x000000001e876000  562       4       java.util.HashMap::get (23 bytes) | ||||||
|  | Event: 0.565 Thread 0x000000001e876000 nmethod 562 0x00000000033e99d0 code [0x00000000033e9b20, 0x00000000033e9d98] | ||||||
|  | Event: 0.565 Thread 0x000000001e877000  563 %     4       sun.nio.cs.UTF_8$Decoder::decode @ 20 (779 bytes) | ||||||
|  | 
 | ||||||
|  | GC Heap History (0 events): | ||||||
|  | No events | ||||||
|  | 
 | ||||||
|  | Deoptimization events (3 events): | ||||||
|  | Event: 0.176 Thread 0x0000000003063800 Uncommon trap: reason=unstable_if action=reinterpret pc=0x00000000032d9898 method=sun.nio.cs.UTF_8$Encoder.encode([CII[B)I @ 33 | ||||||
|  | Event: 0.401 Thread 0x0000000003063800 Uncommon trap: reason=unstable_if action=reinterpret pc=0x0000000003354068 method=org.codehaus.plexus.util.xml.pull.MXParser.more()C @ 8 | ||||||
|  | Event: 0.402 Thread 0x0000000003063800 Uncommon trap: reason=unstable_if action=reinterpret pc=0x0000000003286508 method=java.net.URI.match(CJJ)Z @ 19 | ||||||
|  | 
 | ||||||
|  | Classes redefined (0 events): | ||||||
|  | No events | ||||||
|  | 
 | ||||||
|  | Internal exceptions (6 events): | ||||||
|  | Event: 0.031 Thread 0x0000000003063800 Exception <a 'java/lang/NoSuchMethodError': Method sun.misc.Unsafe.defineClass(Ljava/lang/String;[BII)Ljava/lang/Class; name or signature does not match> (0x000000076c107cb0) thrown at [C:\workspace\8-2-build-windows-amd64-cygwin\jdk8u192\11897\hotspot\sr | ||||||
|  | Event: 0.031 Thread 0x0000000003063800 Exception <a 'java/lang/NoSuchMethodError': Method sun.misc.Unsafe.prefetchRead(Ljava/lang/Object;J)V name or signature does not match> (0x000000076c107f98) thrown at [C:\workspace\8-2-build-windows-amd64-cygwin\jdk8u192\11897\hotspot\src\share\vm\prims\j | ||||||
|  | Event: 0.162 Thread 0x0000000003063800 Exception <a 'java/security/PrivilegedActionException'> (0x000000076c760650) thrown at [C:\workspace\8-2-build-windows-amd64-cygwin\jdk8u192\11897\hotspot\src\share\vm\prims\jvm.cpp, line 1435] | ||||||
|  | Event: 0.162 Thread 0x0000000003063800 Exception <a 'java/security/PrivilegedActionException'> (0x000000076c760a48) thrown at [C:\workspace\8-2-build-windows-amd64-cygwin\jdk8u192\11897\hotspot\src\share\vm\prims\jvm.cpp, line 1435] | ||||||
|  | Event: 0.162 Thread 0x0000000003063800 Exception <a 'java/security/PrivilegedActionException'> (0x000000076c764b40) thrown at [C:\workspace\8-2-build-windows-amd64-cygwin\jdk8u192\11897\hotspot\src\share\vm\prims\jvm.cpp, line 1435] | ||||||
|  | Event: 0.162 Thread 0x0000000003063800 Exception <a 'java/security/PrivilegedActionException'> (0x000000076c764f38) thrown at [C:\workspace\8-2-build-windows-amd64-cygwin\jdk8u192\11897\hotspot\src\share\vm\prims\jvm.cpp, line 1435] | ||||||
|  | 
 | ||||||
|  | Events (10 events): | ||||||
|  | Event: 0.567 loading class com/google/inject/internal/MoreTypes$CompositeType | ||||||
|  | Event: 0.567 loading class com/google/inject/internal/MoreTypes$CompositeType done | ||||||
|  | Event: 0.567 loading class java/lang/reflect/ParameterizedType | ||||||
|  | Event: 0.567 loading class java/lang/reflect/ParameterizedType done | ||||||
|  | Event: 0.568 loading class com/google/inject/spi/InjectionPoint | ||||||
|  | Event: 0.568 loading class com/google/inject/spi/InjectionPoint done | ||||||
|  | Event: 0.568 loading class com/google/common/collect/Ordering | ||||||
|  | Event: 0.568 loading class com/google/common/collect/Ordering done | ||||||
|  | Event: 0.569 loading class com/google/inject/spi/InjectionPoint$1 | ||||||
|  | Event: 0.569 loading class com/google/inject/spi/InjectionPoint$1 done | ||||||
|  | 
 | ||||||
|  | 
 | ||||||
|  | Dynamic libraries: | ||||||
|  | 0x00007ff6a5390000 - 0x00007ff6a53c7000 	C:\Program Files\Java\jdk1.8.0_192\bin\java.exe | ||||||
|  | 0x00007ffc43ad0000 - 0x00007ffc43ce7000 	C:\WINDOWS\SYSTEM32\ntdll.dll | ||||||
|  | 0x00007ffc42b70000 - 0x00007ffc42c34000 	C:\WINDOWS\System32\KERNEL32.DLL | ||||||
|  | 0x00007ffc412c0000 - 0x00007ffc41666000 	C:\WINDOWS\System32\KERNELBASE.dll | ||||||
|  | 0x00007ffc43940000 - 0x00007ffc439f1000 	C:\WINDOWS\System32\ADVAPI32.dll | ||||||
|  | 0x00007ffc432b0000 - 0x00007ffc43357000 	C:\WINDOWS\System32\msvcrt.dll | ||||||
|  | 0x00007ffc41820000 - 0x00007ffc418c5000 	C:\WINDOWS\System32\sechost.dll | ||||||
|  | 0x00007ffc42670000 - 0x00007ffc42787000 	C:\WINDOWS\System32\RPCRT4.dll | ||||||
|  | 0x00007ffc42810000 - 0x00007ffc429be000 	C:\WINDOWS\System32\USER32.dll | ||||||
|  | 0x00007ffc41080000 - 0x00007ffc410a6000 	C:\WINDOWS\System32\win32u.dll | ||||||
|  | 0x00007ffc43a60000 - 0x00007ffc43a89000 	C:\WINDOWS\System32\GDI32.dll | ||||||
|  | 0x00007ffc40f60000 - 0x00007ffc41078000 	C:\WINDOWS\System32\gdi32full.dll | ||||||
|  | 0x00007ffc410b0000 - 0x00007ffc4114a000 	C:\WINDOWS\System32\msvcp_win.dll | ||||||
|  | 0x00007ffc40e40000 - 0x00007ffc40f51000 	C:\WINDOWS\System32\ucrtbase.dll | ||||||
|  | 0x00007ffc2b2d0000 - 0x00007ffc2b563000 	C:\WINDOWS\WinSxS\amd64_microsoft.windows.common-controls_6595b64144ccf1df_6.0.22621.2506_none_270c5ae97388e100\COMCTL32.dll | ||||||
|  | 0x00007ffc429c0000 - 0x00007ffc429f1000 	C:\WINDOWS\System32\IMM32.DLL | ||||||
|  | 0x0000000075300000 - 0x00000000753d1000 	C:\Program Files\Java\jdk1.8.0_192\jre\bin\msvcr100.dll | ||||||
|  | 0x00000000747f0000 - 0x0000000075093000 	C:\Program Files\Java\jdk1.8.0_192\jre\bin\server\jvm.dll | ||||||
|  | 0x00007ffc41c60000 - 0x00007ffc41c68000 	C:\WINDOWS\System32\PSAPI.DLL | ||||||
|  | 0x00007ffc3a7d0000 - 0x00007ffc3a7da000 	C:\WINDOWS\SYSTEM32\VERSION.dll | ||||||
|  | 0x00007ffc39de0000 - 0x00007ffc39e14000 	C:\WINDOWS\SYSTEM32\WINMM.dll | ||||||
|  | 0x00007ffc398e0000 - 0x00007ffc398e9000 	C:\WINDOWS\SYSTEM32\WSOCK32.dll | ||||||
|  | 0x00007ffc42790000 - 0x00007ffc42801000 	C:\WINDOWS\System32\WS2_32.dll | ||||||
|  | 0x00007ffc32a40000 - 0x00007ffc32a4f000 	C:\Program Files\Java\jdk1.8.0_192\jre\bin\verify.dll | ||||||
|  | 0x00007ffc26640000 - 0x00007ffc26669000 	C:\Program Files\Java\jdk1.8.0_192\jre\bin\java.dll | ||||||
|  | 0x00007ffc31e90000 - 0x00007ffc31eb3000 	C:\Program Files\Java\jdk1.8.0_192\jre\bin\instrument.dll | ||||||
|  | 0x00007ffc329d0000 - 0x00007ffc329e6000 	C:\Program Files\Java\jdk1.8.0_192\jre\bin\zip.dll | ||||||
|  | 0x00007ffc41e10000 - 0x00007ffc4266a000 	C:\WINDOWS\System32\SHELL32.dll | ||||||
|  | 0x00007ffc3ed60000 - 0x00007ffc3f656000 	C:\WINDOWS\SYSTEM32\windows.storage.dll | ||||||
|  | 0x00007ffc418d0000 - 0x00007ffc41c59000 	C:\WINDOWS\System32\combase.dll | ||||||
|  | 0x00007ffc3ec20000 - 0x00007ffc3ed5e000 	C:\WINDOWS\SYSTEM32\wintypes.dll | ||||||
|  | 0x00007ffc42c40000 - 0x00007ffc42d33000 	C:\WINDOWS\System32\SHCORE.dll | ||||||
|  | 0x00007ffc42a00000 - 0x00007ffc42a5e000 	C:\WINDOWS\System32\shlwapi.dll | ||||||
|  | 0x00007ffc40d70000 - 0x00007ffc40d96000 	C:\WINDOWS\SYSTEM32\profapi.dll | ||||||
|  | 0x00007ffc32870000 - 0x00007ffc3288a000 	D:\JetBrains\IntelliJ IDEA 2022.2.3\bin\breakgen64.dll | ||||||
|  | 0x00007ffc26620000 - 0x00007ffc2663a000 	C:\Program Files\Java\jdk1.8.0_192\jre\bin\net.dll | ||||||
|  | 0x00007ffc402c0000 - 0x00007ffc40329000 	C:\WINDOWS\system32\mswsock.dll | ||||||
|  | 0x00007ffc40520000 - 0x00007ffc4053b000 	C:\WINDOWS\SYSTEM32\CRYPTSP.dll | ||||||
|  | 0x00007ffc3fda0000 - 0x00007ffc3fdd5000 	C:\WINDOWS\system32\rsaenh.dll | ||||||
|  | 0x00007ffc403b0000 - 0x00007ffc403dc000 	C:\WINDOWS\SYSTEM32\USERENV.dll | ||||||
|  | 0x00007ffc40700000 - 0x00007ffc40728000 	C:\WINDOWS\SYSTEM32\bcrypt.dll | ||||||
|  | 0x00007ffc41670000 - 0x00007ffc416ea000 	C:\WINDOWS\System32\bcryptprimitives.dll | ||||||
|  | 0x00007ffc40510000 - 0x00007ffc4051c000 	C:\WINDOWS\SYSTEM32\CRYPTBASE.dll | ||||||
|  | 0x00007ffc3f8c0000 - 0x00007ffc3f8ed000 	C:\WINDOWS\SYSTEM32\IPHLPAPI.DLL | ||||||
|  | 0x00007ffc432a0000 - 0x00007ffc432a9000 	C:\WINDOWS\System32\NSI.dll | ||||||
|  | 0x00007ffc3b5a0000 - 0x00007ffc3b5b9000 	C:\WINDOWS\SYSTEM32\dhcpcsvc6.DLL | ||||||
|  | 0x00007ffc3b550000 - 0x00007ffc3b56f000 	C:\WINDOWS\SYSTEM32\dhcpcsvc.DLL | ||||||
|  | 0x00007ffc3f930000 - 0x00007ffc3fa29000 	C:\WINDOWS\SYSTEM32\DNSAPI.dll | ||||||
|  | 0x00007ffc25960000 - 0x00007ffc25971000 	C:\Program Files\Java\jdk1.8.0_192\jre\bin\nio.dll | ||||||
|  | 0x00007ffc3b080000 - 0x00007ffc3b08a000 	C:\Users\Administrator\AppData\Local\Temp\jansi-1.17.1-8523629448547339641.dll | ||||||
|  | 0x00007ffc38e30000 - 0x00007ffc38e3a000 	C:\Users\Administrator\AppData\Local\Temp\jansi-1.17.1-2341166011803186222.dll | ||||||
|  | 
 | ||||||
|  | VM Arguments: | ||||||
|  | jvm_args: -Dmaven.multiModuleProjectDirectory=D:\czks1.0\qa-prevention-czks-b -Dmaven.home=C:\Users\Administrator\.m2\wrapper\dists\apache-maven-3.5.4-bin\jl1qqhdeineh9qg83dtj7i91c\apache-maven-3.5.4 -Dclassworlds.conf=C:\Users\Administrator\.m2\wrapper\dists\apache-maven-3.5.4-bin\jl1qqhdeineh9qg83dtj7i91c\apache-maven-3.5.4\bin\m2.conf -Dmaven.ext.class.path=D:\JetBrains\IntelliJ IDEA 2022.2.3\plugins\maven\lib\maven-event-listener.jar -javaagent:D:\JetBrains\IntelliJ IDEA 2022.2.3\lib\idea_rt.jar=50705:D:\JetBrains\IntelliJ IDEA 2022.2.3\bin -Dfile.encoding=UTF-8  | ||||||
|  | java_command: org.codehaus.classworlds.Launcher -Didea.version=2022.2.3 clean | ||||||
|  | java_class_path (initial): C:\Users\Administrator\.m2\wrapper\dists\apache-maven-3.5.4-bin\jl1qqhdeineh9qg83dtj7i91c\apache-maven-3.5.4\boot\plexus-classworlds-2.5.2.jar;D:\JetBrains\IntelliJ IDEA 2022.2.3\lib\idea_rt.jar | ||||||
|  | Launcher Type: SUN_STANDARD | ||||||
|  | 
 | ||||||
|  | Environment Variables: | ||||||
|  | JAVA_HOME=C:\Program Files\Java\jdk1.8.0_192\ | ||||||
|  | CLASSPATH= .;C:\Program Files\Java\jdk1.8.0_192\\lib;C:\Program Files\Java\jdk1.8.0_192\\lib\tools.jar | ||||||
|  | PATH=C:\Program Files (x86)\Common Files\Oracle\Java\javapath;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\WINDOWS\System32\OpenSSH\;C:\Program Files (x86)\Tencent\微信web开发者工具\dll;D:\Tor;oiseSVN\bin;D:\Program Files\nodejs\;D:\Program Files (x86)\NetSarang\Xshell 7\;D:\Program Files (x86)\NetSarang\Xftp 7\;D:\Program Files\Git\cmd;C:\Program Files\Java\jdk1.8.0_192\\bin;C:\Users\Administrator\AppData\Local\Microsoft\WindowsApps;C:\Users\Administrator\AppData\Roaming\npm | ||||||
|  | USERNAME=Administrator | ||||||
|  | OS=Windows_NT | ||||||
|  | PROCESSOR_IDENTIFIER=Intel64 Family 6 Model 140 Stepping 1, GenuineIntel | ||||||
|  | 
 | ||||||
|  | 
 | ||||||
|  | 
 | ||||||
|  | ---------------  S Y S T E M  --------------- | ||||||
|  | 
 | ||||||
|  | OS: Windows 10.0 , 64 bit Build 22621 (10.0.22621.2506) | ||||||
|  | 
 | ||||||
|  | CPU:total 8 (initial active 8) (4 cores per cpu, 2 threads per core) family 6 model 140 stepping 1, cmov, cx8, fxsr, mmx, sse, sse2, sse3, ssse3, sse4.1, sse4.2, popcnt, avx, avx2, aes, clmul, erms, 3dnowpref, lzcnt, ht, tsc, tscinvbit, bmi1, bmi2, adx | ||||||
|  | 
 | ||||||
|  | Memory: 4k page, physical 16505636k(669124k free), swap 30187388k(4236k free) | ||||||
|  | 
 | ||||||
|  | vm_info: Java HotSpot(TM) 64-Bit Server VM (25.192-b12) for windows-amd64 JRE (1.8.0_192-b12), built on Oct  6 2018 17:12:23 by "java_re" with MS VC++ 10.0 (VS2010) | ||||||
|  | 
 | ||||||
|  | time: Fri Jan 05 11:11:32 2024 | ||||||
|  | timezone: 中国标准时间 | ||||||
|  | elapsed time: 0 seconds (0d 0h 0m 0s) | ||||||
|  | 
 | ||||||
|  | @ -0,0 +1,291 @@ | ||||||
|  | # | ||||||
|  | # There is insufficient memory for the Java Runtime Environment to continue. | ||||||
|  | # Native memory allocation (malloc) failed to allocate 262160 bytes for Chunk::new | ||||||
|  | # Possible reasons: | ||||||
|  | #   The system is out of physical RAM or swap space | ||||||
|  | #   The process is running with CompressedOops enabled, and the Java Heap may be blocking the growth of the native heap | ||||||
|  | # Possible solutions: | ||||||
|  | #   Reduce memory load on the system | ||||||
|  | #   Increase physical memory or swap space | ||||||
|  | #   Check if swap backing store is full | ||||||
|  | #   Decrease Java heap size (-Xmx/-Xms) | ||||||
|  | #   Decrease number of Java threads | ||||||
|  | #   Decrease Java thread stack sizes (-Xss) | ||||||
|  | #   Set larger code cache with -XX:ReservedCodeCacheSize= | ||||||
|  | #   JVM is running with Zero Based Compressed Oops mode in which the Java heap is | ||||||
|  | #     placed in the first 32GB address space. The Java Heap base address is the | ||||||
|  | #     maximum limit for the native heap growth. Please use -XX:HeapBaseMinAddress | ||||||
|  | #     to set the Java Heap base and to place the Java Heap above 32GB virtual address. | ||||||
|  | # This output file may be truncated or incomplete. | ||||||
|  | # | ||||||
|  | #  Out of Memory Error (allocation.cpp:390), pid=46004, tid=0x0000000000004b9c | ||||||
|  | # | ||||||
|  | # JRE version: Java(TM) SE Runtime Environment (8.0_192-b12) (build 1.8.0_192-b12) | ||||||
|  | # Java VM: Java HotSpot(TM) 64-Bit Server VM (25.192-b12 mixed mode windows-amd64 compressed oops) | ||||||
|  | # Failed to write core dump. Minidumps are not enabled by default on client versions of Windows | ||||||
|  | # | ||||||
|  | 
 | ||||||
|  | ---------------  T H R E A D  --------------- | ||||||
|  | 
 | ||||||
|  | Current thread (0x000000001e626800):  JavaThread "C2 CompilerThread0" daemon [_thread_in_native, id=19356, stack(0x000000001eee0000,0x000000001efe0000)] | ||||||
|  | 
 | ||||||
|  | Stack: [0x000000001eee0000,0x000000001efe0000] | ||||||
|  | [error occurred during error reporting (printing stack bounds), id 0xc0000005] | ||||||
|  | 
 | ||||||
|  | Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code) | ||||||
|  | 
 | ||||||
|  | 
 | ||||||
|  | Current CompileTask: | ||||||
|  | C2:   1207 1453       4       java.net.URLClassLoader$1::run (5 bytes) | ||||||
|  | 
 | ||||||
|  | 
 | ||||||
|  | ---------------  P R O C E S S  --------------- | ||||||
|  | 
 | ||||||
|  | Java Threads: ( => current thread ) | ||||||
|  |   0x000000001e654000 JavaThread "Service Thread" daemon [_thread_blocked, id=29480, stack(0x000000001f2e0000,0x000000001f3e0000)] | ||||||
|  |   0x000000001e634000 JavaThread "C1 CompilerThread3" daemon [_thread_blocked, id=14620, stack(0x000000001f1e0000,0x000000001f2e0000)] | ||||||
|  |   0x000000001e62f800 JavaThread "C2 CompilerThread2" daemon [_thread_in_native, id=36868, stack(0x000000001f0e0000,0x000000001f1e0000)] | ||||||
|  |   0x000000001e62b000 JavaThread "C2 CompilerThread1" daemon [_thread_in_native, id=9344, stack(0x000000001efe0000,0x000000001f0e0000)] | ||||||
|  | =>0x000000001e626800 JavaThread "C2 CompilerThread0" daemon [_thread_in_native, id=19356, stack(0x000000001eee0000,0x000000001efe0000)] | ||||||
|  |   0x000000001e624000 JavaThread "Monitor Ctrl-Break" daemon [_thread_in_native, id=25452, stack(0x000000001ede0000,0x000000001eee0000)] | ||||||
|  |   0x000000001e5ab000 JavaThread "Attach Listener" daemon [_thread_blocked, id=30780, stack(0x000000001ece0000,0x000000001ede0000)] | ||||||
|  |   0x000000001e5a8000 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=14524, stack(0x000000001ebe0000,0x000000001ece0000)] | ||||||
|  |   0x000000001c7b3800 JavaThread "Finalizer" daemon [_thread_blocked, id=30184, stack(0x000000001ea70000,0x000000001eb70000)] | ||||||
|  |   0x000000001c7ac800 JavaThread "Reference Handler" daemon [_thread_blocked, id=36824, stack(0x000000001e970000,0x000000001ea70000)] | ||||||
|  |   0x0000000002dc3800 JavaThread "main" [_thread_in_vm, id=4904, stack(0x0000000002830000,0x0000000002930000)] | ||||||
|  | 
 | ||||||
|  | Other Threads: | ||||||
|  |   0x000000001c7a8800 VMThread [stack: 0x000000001e470000,0x000000001e570000] [id=19620] | ||||||
|  |   0x000000001e72c000 WatcherThread [stack: 0x000000001f3e0000,0x000000001f4e0000] [id=37696] | ||||||
|  | 
 | ||||||
|  | VM state:not at safepoint (normal execution) | ||||||
|  | 
 | ||||||
|  | VM Mutex/Monitor currently owned by a thread: None | ||||||
|  | 
 | ||||||
|  | heap address: 0x00000006c4200000, size: 4030 MB, Compressed Oops mode: Zero based, Oop shift amount: 3 | ||||||
|  | Narrow klass base: 0x0000000000000000, Narrow klass shift: 3 | ||||||
|  | Compressed class space size: 1073741824 Address: 0x00000007c0000000 | ||||||
|  | 
 | ||||||
|  | Heap: | ||||||
|  |  PSYoungGen      total 75264K, used 25209K [0x000000076c100000, 0x0000000772c00000, 0x00000007c0000000) | ||||||
|  |   eden space 64512K, 26% used [0x000000076c100000,0x000000076d1db538,0x0000000770000000) | ||||||
|  |   from space 10752K, 73% used [0x0000000770a80000,0x0000000771243168,0x0000000771500000) | ||||||
|  |   to   space 10752K, 0% used [0x0000000770000000,0x0000000770000000,0x0000000770a80000) | ||||||
|  |  ParOldGen       total 113152K, used 3543K [0x00000006c4200000, 0x00000006cb080000, 0x000000076c100000) | ||||||
|  |   object space 113152K, 3% used [0x00000006c4200000,0x00000006c4575c88,0x00000006cb080000) | ||||||
|  |  Metaspace       used 14836K, capacity 15108K, committed 15232K, reserved 1062912K | ||||||
|  |   class space    used 1829K, capacity 1909K, committed 1920K, reserved 1048576K | ||||||
|  | 
 | ||||||
|  | Card table byte_map: [0x0000000012280000,0x0000000012a60000] byte_map_base: 0x000000000ec5f000 | ||||||
|  | 
 | ||||||
|  | Marking Bits: (ParMarkBitMap*) 0x0000000075013ce0 | ||||||
|  |  Begin Bits: [0x00000000137a0000, 0x0000000017698000) | ||||||
|  |  End Bits:   [0x0000000017698000, 0x000000001b590000) | ||||||
|  | 
 | ||||||
|  | Polling page: 0x0000000000fe0000 | ||||||
|  | 
 | ||||||
|  | CodeCache: size=245760Kb used=5676Kb max_used=5676Kb free=240083Kb | ||||||
|  |  bounds [0x0000000002ec0000, 0x0000000003460000, 0x0000000011ec0000] | ||||||
|  |  total_blobs=2028 nmethods=1668 adapters=272 | ||||||
|  |  compilation: enabled | ||||||
|  | 
 | ||||||
|  | Compilation events (10 events): | ||||||
|  | Event: 1.195 Thread 0x000000001e634000 1666       1       org.apache.maven.model.Dependency::getScope (5 bytes) | ||||||
|  | Event: 1.195 Thread 0x000000001e634000 nmethod 1666 0x000000000344a790 code [0x000000000344a8e0, 0x000000000344a9f0] | ||||||
|  | Event: 1.199 Thread 0x000000001e634000 1671   !   3       org.codehaus.plexus.util.xml.pull.MXParser::parseComment (486 bytes) | ||||||
|  | Event: 1.200 Thread 0x000000001e634000 nmethod 1671 0x000000000344aa50 code [0x000000000344ae00, 0x000000000344cd88] | ||||||
|  | Event: 1.200 Thread 0x000000001e634000 1672       3       org.apache.maven.model.io.xpp3.MavenXpp3Reader::checkFieldWithDuplicate (75 bytes) | ||||||
|  | Event: 1.201 Thread 0x000000001e634000 nmethod 1672 0x000000000344e0d0 code [0x000000000344e320, 0x000000000344f098] | ||||||
|  | Event: 1.201 Thread 0x000000001e634000 1673       3       java.util.LinkedHashMap$LinkedEntrySet::iterator (12 bytes) | ||||||
|  | Event: 1.201 Thread 0x000000001e634000 nmethod 1673 0x000000000344f710 code [0x000000000344f880, 0x000000000344fbb0] | ||||||
|  | Event: 1.201 Thread 0x000000001e634000 1674       3       java.util.LinkedHashMap$LinkedEntryIterator::<init> (11 bytes) | ||||||
|  | Event: 1.201 Thread 0x000000001e634000 nmethod 1674 0x000000000344fd50 code [0x000000000344fec0, 0x0000000003450150] | ||||||
|  | 
 | ||||||
|  | GC Heap History (6 events): | ||||||
|  | Event: 0.518 GC heap before | ||||||
|  | {Heap before GC invocations=1 (full 0): | ||||||
|  |  PSYoungGen      total 75264K, used 23253K [0x000000076c100000, 0x0000000771500000, 0x00000007c0000000) | ||||||
|  |   eden space 64512K, 36% used [0x000000076c100000,0x000000076d7b54d0,0x0000000770000000) | ||||||
|  |   from space 10752K, 0% used [0x0000000770a80000,0x0000000770a80000,0x0000000771500000) | ||||||
|  |   to   space 10752K, 0% used [0x0000000770000000,0x0000000770000000,0x0000000770a80000) | ||||||
|  |  ParOldGen       total 172032K, used 0K [0x00000006c4200000, 0x00000006cea00000, 0x000000076c100000) | ||||||
|  |   object space 172032K, 0% used [0x00000006c4200000,0x00000006c4200000,0x00000006cea00000) | ||||||
|  |  Metaspace       used 7385K, capacity 7528K, committed 7552K, reserved 1056768K | ||||||
|  |   class space    used 836K, capacity 892K, committed 896K, reserved 1048576K | ||||||
|  | Event: 0.522 GC heap after | ||||||
|  | Heap after GC invocations=1 (full 0): | ||||||
|  |  PSYoungGen      total 75264K, used 3814K [0x000000076c100000, 0x0000000771500000, 0x00000007c0000000) | ||||||
|  |   eden space 64512K, 0% used [0x000000076c100000,0x000000076c100000,0x0000000770000000) | ||||||
|  |   from space 10752K, 35% used [0x0000000770000000,0x00000007703b9af0,0x0000000770a80000) | ||||||
|  |   to   space 10752K, 0% used [0x0000000770a80000,0x0000000770a80000,0x0000000771500000) | ||||||
|  |  ParOldGen       total 172032K, used 8K [0x00000006c4200000, 0x00000006cea00000, 0x000000076c100000) | ||||||
|  |   object space 172032K, 0% used [0x00000006c4200000,0x00000006c4202000,0x00000006cea00000) | ||||||
|  |  Metaspace       used 7385K, capacity 7528K, committed 7552K, reserved 1056768K | ||||||
|  |   class space    used 836K, capacity 892K, committed 896K, reserved 1048576K | ||||||
|  | } | ||||||
|  | Event: 0.522 GC heap before | ||||||
|  | {Heap before GC invocations=2 (full 1): | ||||||
|  |  PSYoungGen      total 75264K, used 3814K [0x000000076c100000, 0x0000000771500000, 0x00000007c0000000) | ||||||
|  |   eden space 64512K, 0% used [0x000000076c100000,0x000000076c100000,0x0000000770000000) | ||||||
|  |   from space 10752K, 35% used [0x0000000770000000,0x00000007703b9af0,0x0000000770a80000) | ||||||
|  |   to   space 10752K, 0% used [0x0000000770a80000,0x0000000770a80000,0x0000000771500000) | ||||||
|  |  ParOldGen       total 172032K, used 8K [0x00000006c4200000, 0x00000006cea00000, 0x000000076c100000) | ||||||
|  |   object space 172032K, 0% used [0x00000006c4200000,0x00000006c4202000,0x00000006cea00000) | ||||||
|  |  Metaspace       used 7385K, capacity 7528K, committed 7552K, reserved 1056768K | ||||||
|  |   class space    used 836K, capacity 892K, committed 896K, reserved 1048576K | ||||||
|  | Event: 0.529 GC heap after | ||||||
|  | Heap after GC invocations=2 (full 1): | ||||||
|  |  PSYoungGen      total 75264K, used 0K [0x000000076c100000, 0x0000000771500000, 0x00000007c0000000) | ||||||
|  |   eden space 64512K, 0% used [0x000000076c100000,0x000000076c100000,0x0000000770000000) | ||||||
|  |   from space 10752K, 0% used [0x0000000770000000,0x0000000770000000,0x0000000770a80000) | ||||||
|  |   to   space 10752K, 0% used [0x0000000770a80000,0x0000000770a80000,0x0000000771500000) | ||||||
|  |  ParOldGen       total 113152K, used 3535K [0x00000006c4200000, 0x00000006cb080000, 0x000000076c100000) | ||||||
|  |   object space 113152K, 3% used [0x00000006c4200000,0x00000006c4573c88,0x00000006cb080000) | ||||||
|  |  Metaspace       used 7385K, capacity 7528K, committed 7552K, reserved 1056768K | ||||||
|  |   class space    used 836K, capacity 892K, committed 896K, reserved 1048576K | ||||||
|  | } | ||||||
|  | Event: 1.000 GC heap before | ||||||
|  | {Heap before GC invocations=3 (full 1): | ||||||
|  |  PSYoungGen      total 75264K, used 64512K [0x000000076c100000, 0x0000000771500000, 0x00000007c0000000) | ||||||
|  |   eden space 64512K, 100% used [0x000000076c100000,0x0000000770000000,0x0000000770000000) | ||||||
|  |   from space 10752K, 0% used [0x0000000770000000,0x0000000770000000,0x0000000770a80000) | ||||||
|  |   to   space 10752K, 0% used [0x0000000770a80000,0x0000000770a80000,0x0000000771500000) | ||||||
|  |  ParOldGen       total 113152K, used 3535K [0x00000006c4200000, 0x00000006cb080000, 0x000000076c100000) | ||||||
|  |   object space 113152K, 3% used [0x00000006c4200000,0x00000006c4573c88,0x00000006cb080000) | ||||||
|  |  Metaspace       used 13028K, capacity 13316K, committed 13568K, reserved 1060864K | ||||||
|  |   class space    used 1630K, capacity 1707K, committed 1792K, reserved 1048576K | ||||||
|  | Event: 1.005 GC heap after | ||||||
|  | Heap after GC invocations=3 (full 1): | ||||||
|  |  PSYoungGen      total 75264K, used 7948K [0x000000076c100000, 0x0000000772c00000, 0x00000007c0000000) | ||||||
|  |   eden space 64512K, 0% used [0x000000076c100000,0x000000076c100000,0x0000000770000000) | ||||||
|  |   from space 10752K, 73% used [0x0000000770a80000,0x0000000771243168,0x0000000771500000) | ||||||
|  |   to   space 10752K, 0% used [0x0000000770000000,0x0000000770000000,0x0000000770a80000) | ||||||
|  |  ParOldGen       total 113152K, used 3543K [0x00000006c4200000, 0x00000006cb080000, 0x000000076c100000) | ||||||
|  |   object space 113152K, 3% used [0x00000006c4200000,0x00000006c4575c88,0x00000006cb080000) | ||||||
|  |  Metaspace       used 13028K, capacity 13316K, committed 13568K, reserved 1060864K | ||||||
|  |   class space    used 1630K, capacity 1707K, committed 1792K, reserved 1048576K | ||||||
|  | } | ||||||
|  | 
 | ||||||
|  | Deoptimization events (10 events): | ||||||
|  | Event: 0.702 Thread 0x0000000002dc3800 Uncommon trap: reason=unstable_if action=reinterpret pc=0x000000000314dec8 method=java.util.HashMap.getNode(ILjava/lang/Object;)Ljava/util/HashMap$Node; @ 129 | ||||||
|  | Event: 0.704 Thread 0x0000000002dc3800 Uncommon trap: reason=unstable_if action=reinterpret pc=0x000000000315515c method=java.util.HashMap.getNode(ILjava/lang/Object;)Ljava/util/HashMap$Node; @ 129 | ||||||
|  | Event: 1.047 Thread 0x0000000002dc3800 Uncommon trap: reason=bimorphic action=maybe_recompile pc=0x0000000003266fa8 method=java.util.HashMap.putVal(ILjava/lang/Object;Ljava/lang/Object;ZZ)Ljava/lang/Object; @ 203 | ||||||
|  | Event: 1.047 Thread 0x0000000002dc3800 Uncommon trap: reason=bimorphic action=maybe_recompile pc=0x0000000003266fa8 method=java.util.HashMap.putVal(ILjava/lang/Object;Ljava/lang/Object;ZZ)Ljava/lang/Object; @ 203 | ||||||
|  | Event: 1.047 Thread 0x0000000002dc3800 Uncommon trap: reason=bimorphic action=maybe_recompile pc=0x0000000003266fa8 method=java.util.HashMap.putVal(ILjava/lang/Object;Ljava/lang/Object;ZZ)Ljava/lang/Object; @ 203 | ||||||
|  | Event: 1.047 Thread 0x0000000002dc3800 Uncommon trap: reason=bimorphic action=maybe_recompile pc=0x0000000003266fa8 method=java.util.HashMap.putVal(ILjava/lang/Object;Ljava/lang/Object;ZZ)Ljava/lang/Object; @ 203 | ||||||
|  | Event: 1.115 Thread 0x0000000002dc3800 Uncommon trap: reason=null_check action=make_not_entrant pc=0x000000000305f088 method=java.lang.String.equals(Ljava/lang/Object;)Z @ 8 | ||||||
|  | Event: 1.189 Thread 0x0000000002dc3800 Uncommon trap: reason=unstable_if action=reinterpret pc=0x00000000031af6c4 method=sun.nio.cs.UTF_8$Decoder.decodeArrayLoop(Ljava/nio/ByteBuffer;Ljava/nio/CharBuffer;)Ljava/nio/charset/CoderResult; @ 84 | ||||||
|  | Event: 1.195 Thread 0x0000000002dc3800 Uncommon trap: reason=unstable_if action=reinterpret pc=0x00000000030c8298 method=java.lang.AbstractStringBuilder.append(Ljava/lang/String;)Ljava/lang/AbstractStringBuilder; @ 1 | ||||||
|  | Event: 1.195 Thread 0x0000000002dc3800 Uncommon trap: reason=unstable_if action=reinterpret pc=0x00000000030b6290 method=java.lang.AbstractStringBuilder.append(Ljava/lang/String;)Ljava/lang/AbstractStringBuilder; @ 1 | ||||||
|  | 
 | ||||||
|  | Classes redefined (0 events): | ||||||
|  | No events | ||||||
|  | 
 | ||||||
|  | Internal exceptions (10 events): | ||||||
|  | Event: 0.584 Thread 0x0000000002dc3800 Exception <a 'java/lang/ArrayIndexOutOfBoundsException'> (0x000000076c8f9ca0) thrown at [C:\workspace\8-2-build-windows-amd64-cygwin\jdk8u192\11897\hotspot\src\share\vm\runtime\sharedRuntime.cpp, line 605] | ||||||
|  | Event: 0.670 Thread 0x0000000002dc3800 Exception <a 'java/lang/ArrayIndexOutOfBoundsException'> (0x000000076d5b5f38) thrown at [C:\workspace\8-2-build-windows-amd64-cygwin\jdk8u192\11897\hotspot\src\share\vm\runtime\sharedRuntime.cpp, line 605] | ||||||
|  | Event: 0.671 Thread 0x0000000002dc3800 Exception <a 'java/lang/ArrayIndexOutOfBoundsException'> (0x000000076d5ba898) thrown at [C:\workspace\8-2-build-windows-amd64-cygwin\jdk8u192\11897\hotspot\src\share\vm\runtime\sharedRuntime.cpp, line 605] | ||||||
|  | Event: 0.701 Thread 0x0000000002dc3800 Exception <a 'java/lang/ArrayIndexOutOfBoundsException': 66> (0x000000076d8e0dc0) thrown at [C:\workspace\8-2-build-windows-amd64-cygwin\jdk8u192\11897\hotspot\src\share\vm\interpreter\interpreterRuntime.cpp, line 368] | ||||||
|  | Event: 1.042 Thread 0x0000000002dc3800 Exception <a 'java/lang/NoClassDefFoundError': com/google/inject/servlet/ServletModuleTargetVisitor> (0x000000076c49c128) thrown at [C:\workspace\8-2-build-windows-amd64-cygwin\jdk8u192\11897\hotspot\src\share\vm\classfile\systemDictionary.cpp, line 199] | ||||||
|  | Event: 1.042 Thread 0x0000000002dc3800 Exception <a 'java/lang/NoClassDefFoundError'> (0x000000076c49c128) thrown at [C:\workspace\8-2-build-windows-amd64-cygwin\jdk8u192\11897\hotspot\src\share\vm\prims\jvm.cpp, line 1439] | ||||||
|  | Event: 1.042 Thread 0x0000000002dc3800 Exception <a 'java/lang/NoClassDefFoundError': javax/annotation/Priority> (0x000000076c4a11d0) thrown at [C:\workspace\8-2-build-windows-amd64-cygwin\jdk8u192\11897\hotspot\src\share\vm\classfile\systemDictionary.cpp, line 199] | ||||||
|  | Event: 1.115 Thread 0x0000000002dc3800 Implicit null exception at 0x000000000305ee98 to 0x000000000305f079 | ||||||
|  | Event: 1.194 Thread 0x0000000002dc3800 Implicit null exception at 0x00000000030c7ed6 to 0x00000000030c8281 | ||||||
|  | Event: 1.195 Thread 0x0000000002dc3800 Implicit null exception at 0x00000000030b5ed6 to 0x00000000030b6279 | ||||||
|  | 
 | ||||||
|  | Events (10 events): | ||||||
|  | Event: 1.204 loading class org/eclipse/aether/version/VersionRange | ||||||
|  | Event: 1.204 loading class org/eclipse/aether/version/VersionRange done | ||||||
|  | Event: 1.204 loading class org/eclipse/aether/util/version/GenericVersionConstraint | ||||||
|  | Event: 1.204 loading class org/eclipse/aether/util/version/GenericVersionConstraint done | ||||||
|  | Event: 1.204 loading class org/eclipse/aether/util/version/GenericVersion | ||||||
|  | Event: 1.204 loading class org/eclipse/aether/util/version/GenericVersion done | ||||||
|  | Event: 1.204 loading class org/eclipse/aether/util/version/GenericVersion$Tokenizer | ||||||
|  | Event: 1.204 loading class org/eclipse/aether/util/version/GenericVersion$Tokenizer done | ||||||
|  | Event: 1.205 loading class org/eclipse/aether/util/version/GenericVersion$Item | ||||||
|  | Event: 1.205 loading class org/eclipse/aether/util/version/GenericVersion$Item done | ||||||
|  | 
 | ||||||
|  | 
 | ||||||
|  | Dynamic libraries: | ||||||
|  | 0x00007ff6a5390000 - 0x00007ff6a53c7000 	C:\Program Files\Java\jdk1.8.0_192\bin\java.exe | ||||||
|  | 0x00007ffc43ad0000 - 0x00007ffc43ce7000 	C:\WINDOWS\SYSTEM32\ntdll.dll | ||||||
|  | 0x00007ffc42b70000 - 0x00007ffc42c34000 	C:\WINDOWS\System32\KERNEL32.DLL | ||||||
|  | 0x00007ffc412c0000 - 0x00007ffc41666000 	C:\WINDOWS\System32\KERNELBASE.dll | ||||||
|  | 0x00007ffc43940000 - 0x00007ffc439f1000 	C:\WINDOWS\System32\ADVAPI32.dll | ||||||
|  | 0x00007ffc432b0000 - 0x00007ffc43357000 	C:\WINDOWS\System32\msvcrt.dll | ||||||
|  | 0x00007ffc41820000 - 0x00007ffc418c5000 	C:\WINDOWS\System32\sechost.dll | ||||||
|  | 0x00007ffc42670000 - 0x00007ffc42787000 	C:\WINDOWS\System32\RPCRT4.dll | ||||||
|  | 0x00007ffc42810000 - 0x00007ffc429be000 	C:\WINDOWS\System32\USER32.dll | ||||||
|  | 0x00007ffc41080000 - 0x00007ffc410a6000 	C:\WINDOWS\System32\win32u.dll | ||||||
|  | 0x00007ffc43a60000 - 0x00007ffc43a89000 	C:\WINDOWS\System32\GDI32.dll | ||||||
|  | 0x00007ffc40f60000 - 0x00007ffc41078000 	C:\WINDOWS\System32\gdi32full.dll | ||||||
|  | 0x00007ffc410b0000 - 0x00007ffc4114a000 	C:\WINDOWS\System32\msvcp_win.dll | ||||||
|  | 0x00007ffc40e40000 - 0x00007ffc40f51000 	C:\WINDOWS\System32\ucrtbase.dll | ||||||
|  | 0x00007ffc2b2d0000 - 0x00007ffc2b563000 	C:\WINDOWS\WinSxS\amd64_microsoft.windows.common-controls_6595b64144ccf1df_6.0.22621.2506_none_270c5ae97388e100\COMCTL32.dll | ||||||
|  | 0x00007ffc429c0000 - 0x00007ffc429f1000 	C:\WINDOWS\System32\IMM32.DLL | ||||||
|  | 0x0000000075300000 - 0x00000000753d1000 	C:\Program Files\Java\jdk1.8.0_192\jre\bin\msvcr100.dll | ||||||
|  | 0x00000000747f0000 - 0x0000000075093000 	C:\Program Files\Java\jdk1.8.0_192\jre\bin\server\jvm.dll | ||||||
|  | 0x00007ffc41c60000 - 0x00007ffc41c68000 	C:\WINDOWS\System32\PSAPI.DLL | ||||||
|  | 0x00007ffc39de0000 - 0x00007ffc39e14000 	C:\WINDOWS\SYSTEM32\WINMM.dll | ||||||
|  | 0x00007ffc398e0000 - 0x00007ffc398e9000 	C:\WINDOWS\SYSTEM32\WSOCK32.dll | ||||||
|  | 0x00007ffc3a7d0000 - 0x00007ffc3a7da000 	C:\WINDOWS\SYSTEM32\VERSION.dll | ||||||
|  | 0x00007ffc42790000 - 0x00007ffc42801000 	C:\WINDOWS\System32\WS2_32.dll | ||||||
|  | 0x00007ffc32a40000 - 0x00007ffc32a4f000 	C:\Program Files\Java\jdk1.8.0_192\jre\bin\verify.dll | ||||||
|  | 0x00007ffc26640000 - 0x00007ffc26669000 	C:\Program Files\Java\jdk1.8.0_192\jre\bin\java.dll | ||||||
|  | 0x00007ffc31e90000 - 0x00007ffc31eb3000 	C:\Program Files\Java\jdk1.8.0_192\jre\bin\instrument.dll | ||||||
|  | 0x00007ffc329d0000 - 0x00007ffc329e6000 	C:\Program Files\Java\jdk1.8.0_192\jre\bin\zip.dll | ||||||
|  | 0x00007ffc41e10000 - 0x00007ffc4266a000 	C:\WINDOWS\System32\SHELL32.dll | ||||||
|  | 0x00007ffc3ed60000 - 0x00007ffc3f656000 	C:\WINDOWS\SYSTEM32\windows.storage.dll | ||||||
|  | 0x00007ffc418d0000 - 0x00007ffc41c59000 	C:\WINDOWS\System32\combase.dll | ||||||
|  | 0x00007ffc3ec20000 - 0x00007ffc3ed5e000 	C:\WINDOWS\SYSTEM32\wintypes.dll | ||||||
|  | 0x00007ffc42c40000 - 0x00007ffc42d33000 	C:\WINDOWS\System32\SHCORE.dll | ||||||
|  | 0x00007ffc42a00000 - 0x00007ffc42a5e000 	C:\WINDOWS\System32\shlwapi.dll | ||||||
|  | 0x00007ffc40d70000 - 0x00007ffc40d96000 	C:\WINDOWS\SYSTEM32\profapi.dll | ||||||
|  | 0x00007ffc32870000 - 0x00007ffc3288a000 	D:\JetBrains\IntelliJ IDEA 2022.2.3\bin\breakgen64.dll | ||||||
|  | 0x00007ffc26620000 - 0x00007ffc2663a000 	C:\Program Files\Java\jdk1.8.0_192\jre\bin\net.dll | ||||||
|  | 0x00007ffc402c0000 - 0x00007ffc40329000 	C:\WINDOWS\system32\mswsock.dll | ||||||
|  | 0x00007ffc40520000 - 0x00007ffc4053b000 	C:\WINDOWS\SYSTEM32\CRYPTSP.dll | ||||||
|  | 0x00007ffc3fda0000 - 0x00007ffc3fdd5000 	C:\WINDOWS\system32\rsaenh.dll | ||||||
|  | 0x00007ffc403b0000 - 0x00007ffc403dc000 	C:\WINDOWS\SYSTEM32\USERENV.dll | ||||||
|  | 0x00007ffc40700000 - 0x00007ffc40728000 	C:\WINDOWS\SYSTEM32\bcrypt.dll | ||||||
|  | 0x00007ffc41670000 - 0x00007ffc416ea000 	C:\WINDOWS\System32\bcryptprimitives.dll | ||||||
|  | 0x00007ffc40510000 - 0x00007ffc4051c000 	C:\WINDOWS\SYSTEM32\CRYPTBASE.dll | ||||||
|  | 0x00007ffc3f8c0000 - 0x00007ffc3f8ed000 	C:\WINDOWS\SYSTEM32\IPHLPAPI.DLL | ||||||
|  | 0x00007ffc432a0000 - 0x00007ffc432a9000 	C:\WINDOWS\System32\NSI.dll | ||||||
|  | 0x00007ffc3b5a0000 - 0x00007ffc3b5b9000 	C:\WINDOWS\SYSTEM32\dhcpcsvc6.DLL | ||||||
|  | 0x00007ffc3b550000 - 0x00007ffc3b56f000 	C:\WINDOWS\SYSTEM32\dhcpcsvc.DLL | ||||||
|  | 0x00007ffc3f930000 - 0x00007ffc3fa29000 	C:\WINDOWS\SYSTEM32\DNSAPI.dll | ||||||
|  | 0x00007ffc25960000 - 0x00007ffc25971000 	C:\Program Files\Java\jdk1.8.0_192\jre\bin\nio.dll | ||||||
|  | 0x00007ffc3b080000 - 0x00007ffc3b08a000 	C:\Users\Administrator\AppData\Local\Temp\jansi-1.17.1-5130026548928314024.dll | ||||||
|  | 0x00007ffc38e30000 - 0x00007ffc38e3a000 	C:\Users\Administrator\AppData\Local\Temp\jansi-1.17.1-6601733267714388726.dll | ||||||
|  | 
 | ||||||
|  | VM Arguments: | ||||||
|  | jvm_args: -Dmaven.multiModuleProjectDirectory=D:\czks1.0\qa-prevention-czks-b -Dmaven.home=C:\Users\Administrator\.m2\wrapper\dists\apache-maven-3.5.4-bin\jl1qqhdeineh9qg83dtj7i91c\apache-maven-3.5.4 -Dclassworlds.conf=C:\Users\Administrator\.m2\wrapper\dists\apache-maven-3.5.4-bin\jl1qqhdeineh9qg83dtj7i91c\apache-maven-3.5.4\bin\m2.conf -Dmaven.ext.class.path=D:\JetBrains\IntelliJ IDEA 2022.2.3\plugins\maven\lib\maven-event-listener.jar -javaagent:D:\JetBrains\IntelliJ IDEA 2022.2.3\lib\idea_rt.jar=50707:D:\JetBrains\IntelliJ IDEA 2022.2.3\bin -Dfile.encoding=UTF-8  | ||||||
|  | java_command: org.codehaus.classworlds.Launcher -Didea.version=2022.2.3 clean | ||||||
|  | java_class_path (initial): C:\Users\Administrator\.m2\wrapper\dists\apache-maven-3.5.4-bin\jl1qqhdeineh9qg83dtj7i91c\apache-maven-3.5.4\boot\plexus-classworlds-2.5.2.jar;D:\JetBrains\IntelliJ IDEA 2022.2.3\lib\idea_rt.jar | ||||||
|  | Launcher Type: SUN_STANDARD | ||||||
|  | 
 | ||||||
|  | Environment Variables: | ||||||
|  | JAVA_HOME=C:\Program Files\Java\jdk1.8.0_192\ | ||||||
|  | CLASSPATH= .;C:\Program Files\Java\jdk1.8.0_192\\lib;C:\Program Files\Java\jdk1.8.0_192\\lib\tools.jar | ||||||
|  | PATH=C:\Program Files (x86)\Common Files\Oracle\Java\javapath;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\WINDOWS\System32\OpenSSH\;C:\Program Files (x86)\Tencent\微信web开发者工具\dll;D:\Tor;oiseSVN\bin;D:\Program Files\nodejs\;D:\Program Files (x86)\NetSarang\Xshell 7\;D:\Program Files (x86)\NetSarang\Xftp 7\;D:\Program Files\Git\cmd;C:\Program Files\Java\jdk1.8.0_192\\bin;C:\Users\Administrator\AppData\Local\Microsoft\WindowsApps;C:\Users\Administrator\AppData\Roaming\npm | ||||||
|  | USERNAME=Administrator | ||||||
|  | OS=Windows_NT | ||||||
|  | PROCESSOR_IDENTIFIER=Intel64 Family 6 Model 140 Stepping 1, GenuineIntel | ||||||
|  | 
 | ||||||
|  | 
 | ||||||
|  | 
 | ||||||
|  | ---------------  S Y S T E M  --------------- | ||||||
|  | 
 | ||||||
|  | OS: Windows 10.0 , 64 bit Build 22621 (10.0.22621.2506) | ||||||
|  | 
 | ||||||
|  | CPU:total 8 (initial active 8) (4 cores per cpu, 2 threads per core) family 6 model 140 stepping 1, cmov, cx8, fxsr, mmx, sse, sse2, sse3, ssse3, sse4.1, sse4.2, popcnt, avx, avx2, aes, clmul, erms, 3dnowpref, lzcnt, ht, tsc, tscinvbit, bmi1, bmi2, adx | ||||||
|  | 
 | ||||||
|  | Memory: 4k page, physical 16505636k(574280k free), swap 30187388k(5132k free) | ||||||
|  | 
 | ||||||
|  | vm_info: Java HotSpot(TM) 64-Bit Server VM (25.192-b12) for windows-amd64 JRE (1.8.0_192-b12), built on Oct  6 2018 17:12:23 by "java_re" with MS VC++ 10.0 (VS2010) | ||||||
|  | 
 | ||||||
|  | time: Fri Jan 05 11:11:40 2024 | ||||||
|  | timezone: 中国标准时间 | ||||||
|  | elapsed time: 1 seconds (0d 0h 0m 1s) | ||||||
|  | 
 | ||||||
							
								
								
									
										6
									
								
								pom.xml
								
								
								
								
							
							
						
						
									
										6
									
								
								pom.xml
								
								
								
								
							|  | @ -5,12 +5,12 @@ | ||||||
| 	<modelVersion>4.0.0</modelVersion> | 	<modelVersion>4.0.0</modelVersion> | ||||||
| 
 | 
 | ||||||
| 	<groupId>com.zcloud</groupId> | 	<groupId>com.zcloud</groupId> | ||||||
| 	<artifactId>qa-prevention-gwj</artifactId> | 	<artifactId>qa-prevention-czks</artifactId> | ||||||
| 	<version>0.0.1-SNAPSHOT</version> | 	<version>0.0.1-SNAPSHOT</version> | ||||||
| 	<packaging>war</packaging><!-- 以war运行是改成war --> | 	<packaging>war</packaging><!-- 以war运行是改成war --> | ||||||
| 
 | 
 | ||||||
| 	<name>qa-prevention-gwj</name> | 	<name>qa-prevention-gwj</name> | ||||||
| 	<description>qa-prevention-gwj for Spring Boot</description> | 	<description>qa-prevention-czks for Spring Boot</description> | ||||||
| 
 | 
 | ||||||
| 	<parent> | 	<parent> | ||||||
| 		<groupId>org.springframework.boot</groupId> | 		<groupId>org.springframework.boot</groupId> | ||||||
|  | @ -507,7 +507,7 @@ | ||||||
| 				</includes> | 				</includes> | ||||||
| 			</resource> | 			</resource> | ||||||
| 		</resources> --> | 		</resources> --> | ||||||
| 		<finalName>qa-prevention-gwj</finalName> | 		<finalName>qa-prevention-czks</finalName> | ||||||
|         <plugins> |         <plugins> | ||||||
|             <plugin> |             <plugin> | ||||||
|                 <groupId>org.springframework.boot</groupId> |                 <groupId>org.springframework.boot</groupId> | ||||||
|  |  | ||||||
										
											
												File diff suppressed because it is too large
												Load Diff
											
										
									
								
							
										
											
												File diff suppressed because one or more lines are too long
											
										
									
								
							|  | @ -136,7 +136,7 @@ public class HttpRequestUtil { | ||||||
|      * @param httpUrl 连接 |      * @param httpUrl 连接 | ||||||
|      * @return 响应数据 |      * @return 响应数据 | ||||||
|      */ |      */ | ||||||
|     public static String doGetUser(String httpUrl,String token) throws Exception { |     public static String doGetUser(String httpUrl, String token) throws Exception { | ||||||
|         //链接
 |         //链接
 | ||||||
|         HttpURLConnection connection = null; |         HttpURLConnection connection = null; | ||||||
|         InputStream is = null; |         InputStream is = null; | ||||||
|  | @ -281,5 +281,91 @@ public class HttpRequestUtil { | ||||||
|         return result.toString(); |         return result.toString(); | ||||||
|     } |     } | ||||||
| 
 | 
 | ||||||
|  |     public static String doPost(String token, String httpUrl, @Nullable String param) { | ||||||
|  |         StringBuffer result = new StringBuffer(); | ||||||
|  |         //连接
 | ||||||
|  |         HttpURLConnection connection = null; | ||||||
|  |         OutputStream os = null; | ||||||
|  |         InputStream is = null; | ||||||
|  |         BufferedReader br = null; | ||||||
|  |         try { | ||||||
|  |             //创建连接对象
 | ||||||
|  |             URL url = new URL(httpUrl); | ||||||
|  |             //创建连接
 | ||||||
|  |             connection = (HttpURLConnection) url.openConnection(); | ||||||
|  |             //设置请求方法
 | ||||||
|  |             connection.setRequestMethod("POST"); | ||||||
|  |             //设置连接超时时间
 | ||||||
|  |             connection.setConnectTimeout(15000); | ||||||
|  |             //设置读取超时时间
 | ||||||
|  |             connection.setReadTimeout(15000); | ||||||
|  |             //DoOutput设置是否向httpUrlConnection输出,DoInput设置是否从httpUrlConnection读入,此外发送post请求必须设置这两个
 | ||||||
|  |             //设置是否可读取
 | ||||||
|  |             connection.setDoOutput(true); | ||||||
|  |             connection.setDoInput(true); | ||||||
|  |             //设置通用的请求属性
 | ||||||
|  | //            connection.setRequestProperty("accept", "*/*");
 | ||||||
|  | //            connection.setRequestProperty("connection", "Keep-Alive");
 | ||||||
|  | //            connection.setRequestProperty("user-agent", "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1)");
 | ||||||
|  |             connection.setRequestProperty("Content-Type", "application/json;charset=utf-8"); | ||||||
|  |             connection.setRequestProperty("Authorization", token); | ||||||
|  |             System.out.println(param); | ||||||
|  |             //拼装参数
 | ||||||
|  |             if (null != param && !param.equals("")) { | ||||||
|  |                 //设置参数
 | ||||||
|  |                 os = connection.getOutputStream(); | ||||||
|  |                 //拼装参数
 | ||||||
|  |                 os.write(param.getBytes()); | ||||||
|  |             } | ||||||
|  |             //设置权限
 | ||||||
|  |             //设置请求头等
 | ||||||
|  |             //开启连接
 | ||||||
|  |             //connection.connect();
 | ||||||
|  |             //读取响应
 | ||||||
|  |             if (connection.getResponseCode() == 200) { | ||||||
|  |                 is = connection.getInputStream(); | ||||||
|  |                 if (null != is) { | ||||||
|  |                     br = new BufferedReader(new InputStreamReader(is, "UTF-8")); | ||||||
|  |                     String temp = null; | ||||||
|  |                     while (null != (temp = br.readLine())) { | ||||||
|  |                         result.append(temp); | ||||||
|  |                         result.append("\r\n"); | ||||||
|  |                     } | ||||||
|  |                 } | ||||||
|  |             } | ||||||
|  | 
 | ||||||
|  |         } catch (MalformedURLException e) { | ||||||
|  |             e.printStackTrace(); | ||||||
|  |         } catch (IOException e) { | ||||||
|  |             e.printStackTrace(); | ||||||
|  |         } finally { | ||||||
|  |             //关闭连接
 | ||||||
|  |             if (br != null) { | ||||||
|  |                 try { | ||||||
|  |                     br.close(); | ||||||
|  |                 } catch (IOException e) { | ||||||
|  |                     e.printStackTrace(); | ||||||
|  |                 } | ||||||
|  |             } | ||||||
|  |             if (os != null) { | ||||||
|  |                 try { | ||||||
|  |                     os.close(); | ||||||
|  |                 } catch (IOException e) { | ||||||
|  |                     e.printStackTrace(); | ||||||
|  |                 } | ||||||
|  |             } | ||||||
|  |             if (is != null) { | ||||||
|  |                 try { | ||||||
|  |                     is.close(); | ||||||
|  |                 } catch (IOException e) { | ||||||
|  |                     e.printStackTrace(); | ||||||
|  |                 } | ||||||
|  |             } | ||||||
|  |             //关闭连接
 | ||||||
|  |             connection.disconnect(); | ||||||
|  |         } | ||||||
|  |         return result.toString(); | ||||||
|  |     } | ||||||
|  | 
 | ||||||
| 
 | 
 | ||||||
| } | } | ||||||
|  |  | ||||||
|  | @ -16,47 +16,61 @@ import javax.annotation.Resource; | ||||||
| public class PerLocUtil { | public class PerLocUtil { | ||||||
| 
 | 
 | ||||||
|     @Value("${perLoc.url}") |     @Value("${perLoc.url}") | ||||||
|     private String url; |     private String perLocUrl; | ||||||
|     @Value("${perLoc.userName}") | //    @Value("${perLoc.userName}")
 | ||||||
|     private String userName; | //    private String userName;
 | ||||||
|     @Value("${perLoc.pwd}") | //    @Value("${perLoc.pwd}")
 | ||||||
|     private String pwd; |     private static String username = "qinan"; | ||||||
|  |     private static String password = "ZBo7pZ6UKDGLXq/xc87WB/J84jk0B7jpujsQZFcGbG4NrNN0CuWSiImfNln0nloVYC0BOp+9bnCq7MEFpzJXy11z2iYnlOA8B7MM5YDi2dpI+bHO0+lfL57eH6IXP7rrSjiKWCBDjNPgYGETkSgXNRVb8L9LnwX6qbHDri4ARTI="; | ||||||
|  |     private static String userName = "n3Q3nVlzQ/8wVC0CObso2H+i8Y3g8q7k0DGZrZY4ofqnAv1wgfFst7AnlTYu7Rw1aJv36cPD/nrWARmNqP+UghX17K5iutwmKLVwC4EZaVmVABQGLjYdCekj2ePHpGjDFyHYaGQrIVJ651WxFZfKtdBexSL7b9sm7FRbpievNmA="; | ||||||
|  |     private static String source = "API"; | ||||||
|  |     private static String code = "1"; | ||||||
|  |     // token
 | ||||||
|  |     private static String perLocToken = ""; | ||||||
|  | 
 | ||||||
|  | 
 | ||||||
|  | 
 | ||||||
|     @Resource |     @Resource | ||||||
|     private PersonLocationTokenMapper personLocationTokenMapper; |     private PersonLocationTokenMapper personLocationTokenMapper; | ||||||
| 
 | 
 | ||||||
|     public String getToken() throws Exception{ |     public String getToken() throws Exception { | ||||||
|         String token = personLocationTokenMapper.getToken(); |  | ||||||
|         // token 不为空。验证token是否失效
 |         // token 不为空。验证token是否失效
 | ||||||
|         if (Tools.notEmpty(token)){ |         if (Tools.notEmpty(perLocToken)) { | ||||||
|             String httpResponseStr = HttpRequestUtil.doGet(this.url + "/system/token/verifyThatTheTokenIsInvalid"+"?token="+token); |             JSONObject request = new JSONObject(); | ||||||
|  |             request.put("pageNum", 1); | ||||||
|  |             request.put("pageSize", 10); | ||||||
|  |             String httpResponseStr = HttpRequestUtil.doPost(perLocToken, this.perLocUrl + "/system/menu/menuTree",request.toJSONString()); | ||||||
|             JSONObject httpResponse = JSONObject.parseObject(httpResponseStr); |             JSONObject httpResponse = JSONObject.parseObject(httpResponseStr); | ||||||
|             // token 有效
 |             // token 有效
 | ||||||
|             if(Tools.notEmpty(httpResponseStr) && httpResponse != null |             if (Tools.notEmpty(httpResponseStr) && httpResponse != null && httpResponse.get("code") != null && httpResponse.getInteger("code") == 200) { | ||||||
|                     && httpResponse.get("code") != null && httpResponse.getInteger("code") == 200){ |                 return perLocToken; | ||||||
|                 return token; |  | ||||||
|             } else {    // token 失效 或者报错
 |             } else {    // token 失效 或者报错
 | ||||||
|                 token = goToLogin(); |                 perLocToken = goToLogin(); | ||||||
|             } |             } | ||||||
|         } else { |         } else { | ||||||
|             token = goToLogin(); |             perLocToken = goToLogin(); | ||||||
|         } |         } | ||||||
|         return token; |         return perLocToken; | ||||||
|     } |     } | ||||||
| 
 | 
 | ||||||
|  | 
 | ||||||
|     private String goToLogin() throws Exception{ |     private String goToLogin() throws Exception{ | ||||||
|         JSONObject request = new JSONObject(); |         JSONObject request = new JSONObject(); | ||||||
|         request.put("username", userName); |         request.put("username", userName); | ||||||
|         request.put("password", pwd); |         request.put("password", password); | ||||||
|         String loginResStr = HttpRequestUtil.doPost(this.url + "/auth/login", request.toJSONString()); |         request.put("userName", userName); | ||||||
|  |         request.put("source", source); | ||||||
|  |         request.put("code", code); | ||||||
|  |         String loginResStr = HttpRequestUtil.doPost(this.perLocUrl + "/auth/encryptLogin", request.toJSONString()); | ||||||
|         JSONObject loginResponse = JSONObject.parseObject(loginResStr); |         JSONObject loginResponse = JSONObject.parseObject(loginResStr); | ||||||
|         // 登录成功
 |         // 登录成功
 | ||||||
|         if(Tools.notEmpty(loginResStr) && loginResponse != null |         if(Tools.notEmpty(loginResStr) && loginResponse != null | ||||||
|                 && loginResponse.get("code") != null && loginResponse.getInteger("code") == 200 |                 && loginResponse.get("code") != null && loginResponse.getInteger("code") == 200 | ||||||
|                 && loginResponse.get("data") != null && loginResponse.getJSONObject("data").getString("access_token") != null){ |                 && loginResponse.get("data") != null && loginResponse.getJSONObject("data").getString("access_token") != null){ | ||||||
|             personLocationTokenMapper.edit(loginResponse.getJSONObject("data").getString("access_token")); | //            personLocationTokenMapper.edit(loginResponse.getJSONObject("data").getString("access_token"));
 | ||||||
|             return loginResponse.getJSONObject("data").getString("access_token"); |             return loginResponse.getJSONObject("data").getString("token"); | ||||||
|         } else {    // 登录失败
 |         } else {    // 登录失败
 | ||||||
|             throw new RuntimeException("第三方登录失败"); |             throw new RuntimeException("人员定位第三方登录失败"); | ||||||
|         } |         } | ||||||
|     } |     } | ||||||
| } | } | ||||||
|  |  | ||||||
|  | @ -69,7 +69,7 @@ rocketmq.consumer.group2=edu-admin-edit | ||||||
| rocketmq.consumer.group1=edu-admin-add | rocketmq.consumer.group1=edu-admin-add | ||||||
| #rocketmq.name-server=10.0.140.141:9876 | #rocketmq.name-server=10.0.140.141:9876 | ||||||
| #rocketmq.name-server=192.168.0.70:9876 | #rocketmq.name-server=192.168.0.70:9876 | ||||||
| rocketmq.name-server=192.168.0.79:9876 | rocketmq.name-server=192.168.110.184:9876 | ||||||
| rocketmq.producer.group=libmiddle | rocketmq.producer.group=libmiddle | ||||||
| rocketmq.producer.send-message-timeout=3000 | rocketmq.producer.send-message-timeout=3000 | ||||||
| rocketmq.producer.compress-message-body-threshold=4096 | rocketmq.producer.compress-message-body-threshold=4096 | ||||||
|  | @ -89,7 +89,7 @@ mq.topic.docking=docking | ||||||
| mq.topic.dockingPicture=dockingPicture | mq.topic.dockingPicture=dockingPicture | ||||||
| mq.group.docking=scheduled_tasks_docking | mq.group.docking=scheduled_tasks_docking | ||||||
| 
 | 
 | ||||||
| perLoc.url=http://192.168.210.32:8084 | perLoc.url=http://172.16.130.86/gateway-service | ||||||
| perLoc.userName=qaaqadmin | perLoc.userName=qaaqadmin | ||||||
| perLoc.pwd=Cfd2023@ | perLoc.pwd=Cfd2023@ | ||||||
| corp.default.pic-path=https://qgqy.qhdsafety.com/ | corp.default.pic-path=https://qgqy.qhdsafety.com/ | ||||||
|  |  | ||||||
|  | @ -1,5 +1,5 @@ | ||||||
| spring.application.name=qa-prevention-czks | spring.application.name=qa-prevention-czks | ||||||
| server.port=8191 | server.port=8091 | ||||||
| 
 | 
 | ||||||
| #?? | #?? | ||||||
| #spring.profiles.active=local | #spring.profiles.active=local | ||||||
|  |  | ||||||
|  | @ -0,0 +1,55 @@ | ||||||
|  | import com.alibaba.fastjson.JSONObject; | ||||||
|  | import com.zcloud.util.HttpRequestUtil; | ||||||
|  | import com.zcloud.util.Tools; | ||||||
|  | 
 | ||||||
|  | public class Test { | ||||||
|  |     private static String username = "qinan"; | ||||||
|  |     private static String password = "ZBo7pZ6UKDGLXq/xc87WB/J84jk0B7jpujsQZFcGbG4NrNN0CuWSiImfNln0nloVYC0BOp+9bnCq7MEFpzJXy11z2iYnlOA8B7MM5YDi2dpI+bHO0+lfL57eH6IXP7rrSjiKWCBDjNPgYGETkSgXNRVb8L9LnwX6qbHDri4ARTI="; | ||||||
|  |     private static String userName = "n3Q3nVlzQ/8wVC0CObso2H+i8Y3g8q7k0DGZrZY4ofqnAv1wgfFst7AnlTYu7Rw1aJv36cPD/nrWARmNqP+UghX17K5iutwmKLVwC4EZaVmVABQGLjYdCekj2ePHpGjDFyHYaGQrIVJ651WxFZfKtdBexSL7b9sm7FRbpievNmA="; | ||||||
|  |     private static String source = "API"; | ||||||
|  |     private static String code = "1"; | ||||||
|  |     private static String perLocToken = "4b13428cadd8bafbf9ae7ae2544"; | ||||||
|  |     private static String perLocUrl = "http://172.16.130.86/gateway-service"; | ||||||
|  | 
 | ||||||
|  |     public static void main(String[] args) throws Exception { | ||||||
|  |         getToken(); | ||||||
|  |     } | ||||||
|  | 
 | ||||||
|  |     public static String goToLogin() { | ||||||
|  |         JSONObject request = new JSONObject(); | ||||||
|  |         request.put("username", username); | ||||||
|  |         request.put("password", password); | ||||||
|  |         request.put("userName", userName); | ||||||
|  |         request.put("source", source); | ||||||
|  |         request.put("code", code); | ||||||
|  |         String loginResStr = HttpRequestUtil.doPost("http://172.16.130.86/gateway-service" + "/auth/encryptLogin", request.toJSONString()); | ||||||
|  |         JSONObject loginResponse = JSONObject.parseObject(loginResStr); | ||||||
|  |         if(Tools.notEmpty(loginResStr) && loginResponse != null | ||||||
|  |                 && loginResponse.get("code") != null && loginResponse.getInteger("code") == 200 | ||||||
|  |                 && loginResponse.get("data") != null && loginResponse.getJSONObject("data").getString("token") != null){ | ||||||
|  |             return loginResponse.getJSONObject("data").getString("token"); | ||||||
|  |         } else {    // 登录失败
 | ||||||
|  |             throw new RuntimeException("人员定位第三方登录失败"); | ||||||
|  |         } | ||||||
|  |     } | ||||||
|  | 
 | ||||||
|  |     public static String getToken() throws Exception { | ||||||
|  |         // token 不为空。验证token是否失效
 | ||||||
|  |         if (Tools.notEmpty(perLocToken)) { | ||||||
|  |             JSONObject request = new JSONObject(); | ||||||
|  |             request.put("pageNum", 1); | ||||||
|  |             request.put("pageSize", 10); | ||||||
|  |             String httpResponseStr = HttpRequestUtil.doPost(perLocToken, perLocUrl + "/system/menu/menuTree",request.toJSONString()); | ||||||
|  |             JSONObject httpResponse = JSONObject.parseObject(httpResponseStr); | ||||||
|  |             // token 有效
 | ||||||
|  |             if (Tools.notEmpty(httpResponseStr) && httpResponse != null && httpResponse.get("code") != null && httpResponse.getInteger("code") == 200) { | ||||||
|  |                 return perLocToken; | ||||||
|  |             } else {    // token 失效 或者报错
 | ||||||
|  |                 perLocToken = goToLogin(); | ||||||
|  |             } | ||||||
|  |         } else { | ||||||
|  |             perLocToken = goToLogin(); | ||||||
|  |         } | ||||||
|  |         return perLocToken; | ||||||
|  |     } | ||||||
|  | } | ||||||
		Loading…
	
		Reference in New Issue