[LibGDX] Updated LibGDX, crashes when creating SpriteBatch.

It was a while ago since I updated LibGDX. So when I did I first got some compile time errors with the stage class.

I changed the constructor from (int width, int height, boolean something) to (ScreenViewport()).
That solved those.

I tried to run my game and it crashed as I tried to initiate a sprite batch.

The code that crashed:

batch = new SpriteBatch();

The exception:

LwjglGraphics: created OpenGL 3.2+ core profile context. This is experimental!
Exception in thread "LWJGL Application" java.lang.IllegalArgumentException: Error compiling shader: Vertex shader failed to compile with the following errors:
ERROR: error(#272) Implicit version number 110 not supported by GL3 forward compatible context
ERROR: error(#273) 1 compilation errors.  No code generated

Fragment shader failed to compile with the following errors:
ERROR: error(#272) Implicit version number 110 not supported by GL3 forward compatible context
ERROR: error(#273) 1 compilation errors.  No code generated


	at com.badlogic.gdx.graphics.g2d.SpriteBatch.createDefaultShader(SpriteBatch.java:152)
	at com.badlogic.gdx.graphics.g2d.SpriteBatch.<init>(SpriteBatch.java:115)
	at com.badlogic.gdx.graphics.g2d.SpriteBatch.<init>(SpriteBatch.java:72)
	at ui.screens.Splash.show(Splash.java:41)
	at com.badlogic.gdx.Game.setScreen(Game.java:61)
	at ui.screens.ScreenManager.create(ScreenManager.java:33)
	at com.badlogic.gdx.backends.lwjgl.LwjglApplication.mainLoop(LwjglApplication.java:136)
	at com.badlogic.gdx.backends.lwjgl.LwjglApplication$1.run(LwjglApplication.java:114)

How do I resolve this?