[JAVA-4274] Missing Import-Package entry in OSGI bundle Created: 11/Aug/21 Updated: 28/Oct/23 Resolved: 06/Sep/21 |
|
| Status: | Closed |
| Project: | Java Driver |
| Component/s: | Packaging |
| Affects Version/s: | None |
| Fix Version/s: | 4.3.2 |
| Type: | Bug | Priority: | Minor - P4 |
| Reporter: | Roger Masse | Assignee: | Ross Lawley |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | external-user | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Description |
|
You have a couple of imports in com.mongodb.internal.connection.SaslAuthenticator. import javax.security.auth.Subject; These cause a ClassNotFound exception in OSGI/karaf environments I suspect you need to add: 'javax.security.auth.*', to the afterEvaluate clause in the core build.gradle in the jar.manifest.attributes['Import-Package'] section |
| Comments |
| Comment by Githook User [ 06/Sep/21 ] |
|
Author: {'name': 'Ross Lawley', 'email': 'ross.lawley@gmail.com', 'username': 'rozza'}Message: Fix manifest import-package imports (#779)
|
| Comment by Githook User [ 06/Sep/21 ] |
|
Author: {'name': 'Ross Lawley', 'email': 'ross.lawley@gmail.com', 'username': 'rozza'}Message: Fix manifest import-package imports (#779)
|
| Comment by Ross Lawley [ 16/Aug/21 ] |
|
Related PR: https://github.com/mongodb/mongo-java-driver/pull/771 |