Comments (6)
Attempting the hello world example from Jtwig.org on Java 10 yields:
SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by org.parboiled.transform.AsmUtils (file:/C:/Users/foo/.m2/repository/org/parboiled/parboiled-java/1.1.7/parboiled-java-1.1.7.jar) to method java.lang.ClassLoader.findLoadedClass(java.lang.String)
WARNING: Please consider reporting this to the maintainers of org.parboiled.transform.AsmUtils
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
Hello World
In poking around a bit, it seems the code has a copy of a fairly common approach for finding if a class is already loaded (that used to work pre Java 9) that no longer works since Jigsaw was added in Java 9. My Googling didn't find an obvious suggested approach for doing this now, and since I don't know the code or why it works this way, I have nothing new to offer :-(
from parboiled.
from parboiled.
Just released parboiled 1.4.0 which includes a fix to this.
from parboiled.
Hi,
I'm getting this very error when trying to use textricator.
Here's a -verbose log:
# java -verbose -cp "./lib/*" io.mfj.textricator.cli.TextricatorCli form --config=xx.yml --pages=1 --output-format=csv xx.pdf
...
[1.209s][info][class,load] java.lang.ClassFormatError source: jrt:/java.base
[1.210s][info][class,load] java.lang.reflect.AccessibleObject$$Lambda$52/0x0000000800b9b0e8 source: java.lang.reflect.AccessibleObject
[1.210s][info][class,load] jdk.internal.module.IllegalAccessLogger$$Lambda$53/0x0000000800b9b308 source: jdk.internal.module.IllegalAccessLogger
[1.211s][info][class,load] jdk.internal.module.IllegalAccessLogger$$Lambda$54/0x0000000800b9b528 source: jdk.internal.module.IllegalAccessLogger
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by org.parboiled.transform.AsmUtils (file:/F:/xxx/pdf_scrape/lib/parboiled-java-1.3.1.jar) to method java.lang.ClassLoader.findLoadedClass(java.lang.String)
WARNING: Please consider reporting this to the maintainers of org.parboiled.transform.AsmUtils
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
[1.212s][info][class,load] org.objectweb.asm.tree.ClassNode source: file:/F:/xxx/pdf_scrape/lib/asm-tree-7.1.jar
...
with java version:
# java.exe --version
java 15.0.1 2020-10-20
Java(TM) SE Runtime Environment (build 15.0.1+9-18)
Java HotSpot(TM) 64-Bit Server VM (build 15.0.1+9-18, mixed mode, sharing)
from parboiled.
@sleroy
You mentioned you like to continue using this in issue #147. Maybe you could have a look at the issue here above? It's a complete show stopper for that other very cool project I mentioned above, but unfortunately also seem to have been abandoned...
from parboiled.
Possibly related to #103
from parboiled.
Related Issues (20)
- How to get source mapping for successfully parsed nodes HOT 2
- Does parboiled support adding rules for detection errors?
- 2.13 support? HOT 2
- Special Emoji Support
- enable travis-ci HOT 1
- SimpleErrorRecoveryTest.testRecoveryTimeout unstable
- JDK11 reporting illegal reflective access HOT 25
- Can parboiled actually produce The Rule Tree ("tree") automatically? HOT 1
- Link to the wiki broken in the README
- Matched values for erroneous input HOT 2
- publish for Scala 2.13 HOT 1
- How to represent a) 2 digits b) 1 to 10 times in Parboiled?
- Is the project still active ? HOT 20
- Parboiled stopped working in Java 16 due to enforcement of encapsulation HOT 35
- Broken links in Wiki docs (http://www.decodified.com)
- "illegal writes to a local variable or parameter" in kotlin
- problem with string concatenation with parboiled java 1.4.1 HOT 2
- any clues on why this error
- Doc instructions for using JDK 21
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from parboiled.