- Select the File option, then click the Project Structure;
2. Modules and then select Options, then click the + sign on the right;
3. Finally, select Library-> java, can be introduced.
Note, do not forget to add a dependency in pom.xml file:
<dependency>
<groupId>com.microsoft.sqlserver</groupId>
<artifactId>sqljdbc4</artifactId>
<version>4.0</version>
</dependency>