I'm doing a graphical interface in a java (maven) project and I'm having a problem trying to put an icon in JLabel.
AndwhenIruntheprojectitgivesthefollowingerror:
As I'm using the netebeans GUI, there's no way I can edit the code that is generated by the IDE itself. I tested the same interface in a common java project (without maven) and it worked normally, does anyone know why this is only happening in maven projects? I gave a searched and found some other problems similar to maven projects, adding icons to buttons etc.