My sound file doesn't in a .jar file

My sound in my game will only play if a folder titled res is in the same directory as the .jar file. The res folder is already a source folder in the .jar file here is my code

try {
		     InputStream defaultSound = Game.class.getResourceAsStream("/res/TrailsGameMusic.wav");
		     // getClass().getSy.getResource("/images/ads/WindowsNavigationStart.wav");
		    
		     System.out.println("defaultSound " + defaultSound);  // check the URL!
		     AudioInputStream audioInputStream = AudioSystem.getAudioInputStream(defaultSound);
		     Clip clip = AudioSystem.getClip();
		     clip.open(audioInputStream);
		     clip.loop(Clip.LOOP_CONTINUOUSLY);
		} catch (Exception ex) {
		     ex.printStackTrace();
		}