How to load .obj model? Have noob question

package jmemodels;

import java.util.logging.Level;
import java.util.logging.Logger;

import com.jme.bounding.BoundingSphere;
import com.jme.scene.Node;
import com.jme.util.export.binary.BinaryImporter;
import com.jmex.model.converters.FormatConverter;
import com.jmex.model.converters.ObjToJme;
import org.lwjgl.*;
 * Started Date: Jul 22, 2004<br>
 * <br>
 * Demonstrates loading formats.
 * @author Jack Lindamood
public class Main extends SimpleGame {
   private static final Logger logger = Logger
   public static void main(String[] args) {
      Main app = new Main();
      // Turn the logger off so we can see the XML later on
   protected void simpleInitGame() {
      // Point to a URL of my model            
      URL model = Main.class.getClassLoader().getResource(
                /*URL path = this.getClass().getClassLoader().getResource("");
                logger.log(Level.SEVERE, path.toString());*/
      // Create something to convert .obj format to .jme
      FormatConverter converter = new ObjToJme();
      // Point the converter to where it will find the .mtl file from
      converter.setProperty("mtllib", model);
      // This byte array will hold my .jme file
      ByteArrayOutputStream BO = new ByteArrayOutputStream();
      try {
         // Use the format converter to convert .obj to .jme
         converter.convert(model.openStream(), BO);
                        byte[] bt = BO.toByteArray();
         Node maggie = (Node) BinaryImporter.getInstance().load(
            new ByteArrayInputStream(BO.toByteArray()));
         // shrink this baby down some
         maggie.setModelBound(new BoundingSphere());
         // Put her on the scene graph
      } catch (IOException e) { // Just in case anything happens
         logger.logp(Level.SEVERE, this.getClass().toString(),
            "simpleInitGame()", "Exception", e);

I have take usual example and have .obj 3D model. Please tell me how can I load it using getResources? As Far as understand it is not just path to the directory, I have to put it in list of resources in some way? Got cast exception.