Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update README.md #1089

Merged
merged 3 commits into from
Feb 16, 2023
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update README.md
removing intellij manual configuration steps
  • Loading branch information
ashni-mehta authored Feb 16, 2023
commit 24b3ea03cd8cb47a0e8518cbcd871c2f4647c0cd
19 changes: 0 additions & 19 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -109,25 +109,6 @@ $ mongod --dbpath ./data/db --logpath ./data/mongod.log --port 27017 --logappend
If you encounter `"Too many open files"` errors when running the tests then you will need to increase
the number of available file descriptors prior to starting mongod as described in [https://www.mongodb.com/docs/manual/reference/ulimit/](https://www.mongodb.com/docs/manual/reference/ulimit/)

## IntelliJ IDEA

A couple of manual configuration steps are required to run the code in IntelliJ:

- Java 17+ is required to build and compile the source.

- **Error:** `java: cannot find symbol: class SNIHostName location: package javax.net.ssl`<br>
**Fix:** Settings/Preferences > Build, Execution, Deployment > Compiler > Java Compiler - untick "Use '--release' option for
cross-compilation (Java 9 and later)"

- **Error:** `java: package com.mongodb.internal.build does not exist`<br>
**Fixes:** Any of the following: <br>
- Run the `generateBuildConfig` task: eg: `./gradlew generateBuildConfig` or via Gradle > driver-core > Tasks > buildconfig >
generateBuildConfig
- Set `generateBuildConfig` to execute Before Build. via Gradle > Tasks > buildconfig > right click generateBuildConfig - click on
"Execute Before Build"
- Delegate all build actions to Gradle: Settings/Preferences > Build, Execution, Deployment > Build Tools > Gradle > Build and run
using/Run tests using - select "Gradle"

## Supporters
jyemin marked this conversation as resolved.
Show resolved Hide resolved

JetBrains is supporting this open source project with:
Expand Down