“We are pretty hot on solar,” said Richard K. Sullivan Jr., the state’s energy and environmental affairs secretary. “I won’t even use one of my favorite phrases, ‘cautiously optimistic.’ We will hit our goal.”