I have created one Lightning Component which contains a "Next" button.

//button code

> 
> lightning:button class="slds-button slds-button--brand"
>  onclick="{!c.gotoURL}">Next /lightning:button>
> 
> 
> 

Once I clicked on this next button I want to be called another component which is for creating new record.

I have written below function in controller.JS

```
//Calling a next component clicking on the "Next" button
gotoURL:function(component,event,helper){
    var evt = $A.get("e.force:navigateToComponent");      
    evt.setParams({
     componentDef:"NewOpportunityCreation",
    });

evt.fire();
}

```

But when I am clickin on the "Next" button I am getting below error message.

No COMPONENT named markup://NewOpportunityCreation found

STackTrace:
org.auraframework.throwable.quickfix.DefinitionNotFoundException: No COMPONENT named markup://NewOpportunityCreation found