Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

891
Views
sealing violation: package oracle.net.ns is sealed

I am trying to connect to an Oracle 11g XE databse using Oracle SQL Developer. However, I am getting the following exception:

java.lang.SecurityException: sealing violation: package oracle.jdbc.driver is sealed

I have searched for an answer on the web, but have not found a solution.

What is causing this and how can I fix it?

over 4 years ago · Santiago Trujillo
2 answers
Answer question

0

From this documentation at Oracle : Known Issues and Limitations :

java.lang.SecurityException: Sealing violation exception (ID 6554602)

Description

Starting with JDBC 10.2 drivers, having more than one JDBC jar file in the CLASSPATH may result in a java.lang.SecurityException: Sealing violation exception.

Solution (Suggested by Oracle) Make sure that the CLASSPATH includes only one JDBC driver JAR file.

And this forum : SecurityException: sealing violation from Class.forName

A sealing violation means that some classes from a sealed package were loaded from two different locations (directories or jar files).

A sealed package is one that essentially says "I know that all classes in this package come from a single jar file. For security reason no other location may provide classes that are in this package".

Chances are you have two Oracle JDBC driver jars in your classpath.

So make sure that you don't have multiple Oracle JDBC driver jar libraries in your classpath.

over 4 years ago · Santiago Trujillo Report

0

It happens when you have more than one JDBC jar file in the CLASSPATH.

over 4 years ago · Santiago Trujillo Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!