UnsupportedClassVersionError
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 25/100
Research direction
The report names no repository files or tests. Start by reproducing the firebase setup:emulators:firestore and firebase serve --only firestore commands, then inspect how the Firestore emulator is launched and which Java runtime it requires. Done means the emulator starts without UnsupportedClassVersionError.
Written by the indexing model from the issue text.
Description
Running the emulator after firebase setup:emulators:firestore gives the following error:
firebase serve --only firestore
✔ firestore: started on http://localhost:8080
⚠ firestore: Exception in thread "main"
⚠ firestore: java.lang.UnsupportedClassVersionError: com/google/cloud/datastore/emulator/firestore/CloudFirestore : Unsupported major.minor version 52.0
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:800)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:449)
⚠ firestore:
at java.net.URLClassLoader.access$100(URLClassLoader.java:71)
at java.net.URLClassLoader$1.run(URLClassLoader.java:361)
at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
⚠ firestore:
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
at sun.launcher.LauncherHelper.checkAndLoadMain(LauncherHelper.java:482)
⚠ firestore:
Error: firestore: emulator has exited with code: 1
- Dominant language
- JavaScript
- Stars
- 933
- Forks
- 426
- PR merge metrics
- No merged PRs in 30d
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from firebase/quickstart-nodejs
-
Ok Open
Difficulty 5/5 Over a week Newbie friendliness 5/100
firebase/quickstart-nodejs#305 ·
-
Difficulty 4/5 3-5 days Newbie friendliness 25/100
firebase/quickstart-nodejs#253 ·
-
Difficulty 5/5 Over a week Newbie friendliness 20/100
firebase/quickstart-nodejs#194 · 3 comments · 8 reactions ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 35/100
firebase/quickstart-nodejs#183 · 2 comments ·
-
Difficulty 4/5 3-5 days Newbie friendliness 24/100
firebase/quickstart-nodejs#106 · 6 comments · 3 reactions ·
All issues in firebase/quickstart-nodejs
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
palladius/rails8-app-on-gcp#145 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
dotenvx/dotenv-vscode#139 ·
-
test-change-proposal
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
web-platform-tests/interop#1455 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
corsairdev/corsair#1764 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100