Nick,
the problem is that you are creating a brand new injector instance without any configuration. By calling ‘new coldbox.system.ioc.Injector()’ you are creating a new injector without any scan locations declared.
If you are using wirebox in a coldbox application you should be able to reference the injector instance with ‘wirebox’. If for some reason you have instantiated a class without the wirebox injector you can refer to it in the application scope by using ‘application.wirebox’. The coldbox framework will instance the wirebox injector when the application starts up. Try ammend your code to this.
obj1 = wirebox.getInstance(“Class1”);
OR
obj1 = application.wirebox.getInstance(“Class1”);